diff --git a/README.md b/README.md index 4ef2da1..e972f81 100644 --- a/README.md +++ b/README.md @@ -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` @@ -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 ``` diff --git a/docs/harness-examples.md b/docs/harness-examples.md index bb4467b..581449d 100644 --- a/docs/harness-examples.md +++ b/docs/harness-examples.md @@ -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: @@ -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 diff --git a/docs/release-runbook.md b/docs/release-runbook.md index 7653d69..9f1321e 100644 --- a/docs/release-runbook.md +++ b/docs/release-runbook.md @@ -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` 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` before publishing. @@ -76,10 +76,10 @@ 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 ``` @@ -87,7 +87,7 @@ npm install @cafitac/ai-crawler@0.1.1 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 diff --git a/package.json b/package.json index 5bfdd29..1b7bf7d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/pyproject.toml b/pyproject.toml index 4a163b9..f369f69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/ai_crawler/__init__.py b/src/ai_crawler/__init__.py index 05071be..1445b27 100644 --- a/src/ai_crawler/__init__.py +++ b/src/ai_crawler/__init__.py @@ -2,6 +2,6 @@ from ai_crawler.sdk import AICrawler, SDKResult -__version__ = "0.1.1" +__version__ = "0.1.2" __all__ = ["AICrawler", "SDKResult", "__version__"] diff --git a/uv.lock b/uv.lock index 76d8a03..24d28b8 100644 --- a/uv.lock +++ b/uv.lock @@ -8,7 +8,7 @@ resolution-markers = [ [[package]] name = "ai-crawler" -version = "0.1.1" +version = "0.1.2" source = { editable = "." } dependencies = [ { name = "pydantic" },