Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ The Python SDK remains the stable embedded/programmatic surface. The npm package

npm publishing is automated with `.github/workflows/npm-publish.yml`.

- push a tag matching the package version, for example `npm-v0.1.1`
- push a tag matching the package version, for example `npm-v0.1.2`
- or run the workflow manually with `workflow_dispatch`
- the workflow validates that `package.json`, `pyproject.toml`, and `src/ai_crawler/__init__.py` agree on the release version before publish
- tag-triggered publishes also validate that the pushed tag matches `npm-v<package.json version>`
Expand All @@ -230,8 +230,8 @@ npm publishing is automated with `.github/workflows/npm-publish.yml`.
Example tag flow:

```bash
git tag npm-v0.1.1
git push origin npm-v0.1.1
git tag npm-v0.1.2
git push origin npm-v0.1.2
```


Expand Down
8 changes: 4 additions & 4 deletions docs/harness-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Run these from outside the repo to confirm the published package is usable:
```bash
tmpdir=$(mktemp -d)
cd "$tmpdir"
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- --version
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- doctor
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- mcp-config --client hermes --launcher npm
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- --version
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- doctor
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- mcp-config --client hermes --launcher npm
```

Expected shape:
Expand Down Expand Up @@ -64,7 +64,7 @@ uv run --extra mcp --extra http ai-crawler mcp
Or through the published wrapper:

```bash
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- mcp
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- mcp
```

## 3. Python SDK compile_url flow
Expand Down
16 changes: 8 additions & 8 deletions docs/release-runbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ uv run --extra dev python -m ai_crawler.release.npm_publish --event-name workflo
4. create a tag matching `npm-v<version>`
5. push the tag

Example for `0.1.1`:
Example for `0.1.2`:

```bash
git checkout main
git pull --ff-only origin main
git tag npm-v0.1.1
git push origin npm-v0.1.1
git tag npm-v0.1.2
git push origin npm-v0.1.2
```

The workflow validates that the pushed ref exactly matches `npm-v<package.json version>` before publishing.
Expand All @@ -76,18 +76,18 @@ Then verify the real published artifact from outside the repo:
```bash
tmpdir=$(mktemp -d)
cd "$tmpdir"
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- --version
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- doctor
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- mcp-config --client hermes --launcher npm
npm install @cafitac/ai-crawler@0.1.1
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- --version
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- doctor
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- mcp-config --client hermes --launcher npm
npm install @cafitac/ai-crawler@0.1.2
./node_modules/.bin/ai-crawler --version
./node_modules/.bin/ai-crawler doctor
```

For MCP onboarding smoke, also verify the published wrapper can emit npm-first client config:

```bash
npm exec --yes --package @cafitac/ai-crawler@0.1.1 ai-crawler -- mcp-config --client hermes --launcher npm
npm exec --yes --package @cafitac/ai-crawler@0.1.2 ai-crawler -- mcp-config --client hermes --launcher npm
```

## Failure triage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cafitac/ai-crawler",
"version": "0.1.1",
"version": "0.1.2",
"description": "npm delivery wrapper for the ai-crawler Python CLI",
"license": "MIT",
"type": "commonjs",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "ai-crawler"
version = "0.1.1"
version = "0.1.2"
description = "AI-powered network-first crawler compiler for authorized workflows."
readme = "README.md"
requires-python = ">=3.11"
Expand Down
2 changes: 1 addition & 1 deletion src/ai_crawler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

from ai_crawler.sdk import AICrawler, SDKResult

__version__ = "0.1.1"
__version__ = "0.1.2"

__all__ = ["AICrawler", "SDKResult", "__version__"]
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading