@noodleseed/agent-kit 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # @noodleseed/agent-kit
2
+
3
+ Self-checking, self-updating **agent skills** for the [Noodle Seed](https://noodleseed.dev) CLI.
4
+
5
+ This package is the **canonical, independently-versioned skills artifact** the `noodle` CLI fetches and
6
+ verifies. It is **not** meant to be imported directly by apps — it is shipped as data the CLI reconciles
7
+ into a project's `.agents/` and `.claude/` skill directories via `noodle agents setup --write`.
8
+
9
+ ## Contents
10
+
11
+ - `skills/codex/SKILL.md` — the Codex (Codex CLI / AGENTS.md) skill body.
12
+ - `skills/claude-code/SKILL.md` — the Claude Code skill body.
13
+ - `manifest.json` — `{ packageVersion, files: [{ path, sha256, agentTarget }] }`. The CLI verifies every
14
+ file's sha256 against this manifest before writing it into a user's project; a mismatch refuses the
15
+ write. See [ADR 0102](https://github.com/NoodleSeed-com/noodle-borg/blob/main/docs/decisions/0102-self-checking-skills-via-npm.md).
16
+
17
+ ## How the CLI uses it
18
+
19
+ The installed `noodle` CLI bundles a skills snapshot at its release version. On interactive runs it
20
+ also checks `@noodleseed/agent-kit@latest` on the npm registry and, when newer, prompts:
21
+
22
+ ```
23
+ Skills updated in vX — run `noodle agents setup --write` to refresh.
24
+ ```
25
+
26
+ `noodle agents setup --write` then fetches this package, sha256-verifies it against the manifest, and
27
+ writes the fresh `SKILL.md` bodies into the project (the managed `AGENTS.md`/`CLAUDE.md` block stays
28
+ bundled, since it is project-specific). Offline or on verification failure it falls back to the bundled
29
+ snapshot. Run `noodle agents doctor` to see installed vs registry skill versions.
30
+
31
+ ## License
32
+
33
+ Apache-2.0. This package is generated and published from the
34
+ [`noodle-borg`](https://github.com/NoodleSeed-com/noodle-borg) repository; the renderer is the private
35
+ `@noodle-borg/agent-kit` workspace package.
package/manifest.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "packageVersion": "0.1.0",
3
+ "files": [
4
+ {
5
+ "path": "skills/codex/SKILL.md",
6
+ "sha256": "d6c7e997cdd2ad1f5150293bc48ce59e431217f74f8f0831ee8d96fdb71ba2a3",
7
+ "agentTarget": "codex"
8
+ },
9
+ {
10
+ "path": "skills/claude-code/SKILL.md",
11
+ "sha256": "2364efd4186e8e679f2770a30737a4886f330b9087b2c33698ffdf10456dad6d",
12
+ "agentTarget": "claude-code"
13
+ }
14
+ ]
15
+ }
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@noodleseed/agent-kit",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "description": "Self-checking, self-updating agent skills for the Noodle Seed CLI. Authored in this repo by @noodle-borg/agent-kit; this is the published, independently-versioned canonical skills artifact the CLI fetches and verifies.",
6
+ "license": "Apache-2.0",
7
+ "type": "module",
8
+ "engines": {
9
+ "node": ">=18"
10
+ },
11
+ "main": "./manifest.json",
12
+ "exports": {
13
+ ".": "./manifest.json",
14
+ "./manifest.json": "./manifest.json",
15
+ "./skills/*": "./skills/*"
16
+ },
17
+ "publishConfig": {
18
+ "registry": "https://registry.npmjs.org",
19
+ "access": "public"
20
+ },
21
+ "files": [
22
+ "skills/",
23
+ "manifest.json"
24
+ ],
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/NoodleSeed-com/noodle-borg",
28
+ "directory": "packages/agent-kit"
29
+ },
30
+ "author": "Noodle Seed",
31
+ "keywords": [
32
+ "noodle-seed",
33
+ "mcp",
34
+ "agent-skills",
35
+ "codex",
36
+ "claude-code"
37
+ ]
38
+ }
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: noodle-seed
3
+ description: Use when building, testing, or debugging a local Noodle Seed MCP server or app authored in TypeScript with the noodle CLI.
4
+ version: 0.1.0
5
+ hash: 2154da51ab4a13b3
6
+ ---
7
+
8
+ # Noodle Seed
9
+
10
+ Use this skill for project-local Noodle Seed authoring in Claude Code. Work from the configured TypeScript entrypoint and preserve generated/user instruction boundaries.
11
+
12
+ ## SDK surface
13
+
14
+ Import from `@noodleseed/one`: `server`, `tool`, `toolWithWidget`, `toolForWidget`, `resource`, `prompt`, `widget`, `connector` (`.http()`/`.compute()`/`.version()`), `annotations`, `asset`, `handoffSession`, `when`, `ui`, and `z`. These are the declarative builders that emit manifest data — do not hand-author the manifest/runtime artifact.
15
+
16
+ ## CLI surface
17
+
18
+ - Authoring: `noodle init`, `noodle import openapi <file>`, `noodle export manifest`, `noodle validate`, `noodle test`.
19
+ - Local run: `noodle dev`, `noodle check`, `noodle devtools`, `noodle tools`, `noodle resources`, `noodle prompts`.
20
+ - Hosted: `noodle login`, `noodle logout`, `noodle whoami`, `noodle orgs`, `noodle connect`, `noodle link`, `noodle deploy`, `noodle status`, `noodle open`, `noodle access`.
21
+ - Config: `noodle secrets set`, `noodle variables set`, `noodle agents setup`.
22
+
23
+ ## Input paths
24
+
25
+ 1. **Website scrape** — if the user provides a URL, scrape it for surface hints (products, services, hours, contact, pricing). Stop there: the URL does not reveal CRM, booking systems, custom APIs, auth model, eligibility rules, quoting logic, or approval flows. Those live in the business systems and the owner head — ask.
26
+ 2. **OpenAPI import** — `noodle import openapi <file>` emits a starter `server.ts` from a spec. Use it when the user provides an OpenAPI document.
27
+ 3. **User interview** — Noodle does not interview; you do. Cover: custom APIs/integrations, eligibility rules, quoting/approval logic, and private schemas (SQL DDL or JSON samples for custom `connector` declarations). Do: ask for concrete examples and sample payloads. Do not: guess a schema from a URL or invent endpoints.
28
+
29
+ ## Repair loop
30
+
31
+ Run `noodle validate`, read the errors, fix the specific errors cited (the `path` locates the field, `expected`/`got`/`didYouMean?`/`suggestions?` describe the fix), then re-validate. Do not freeform re-edit. Once `noodle validate` passes, run `noodle test` for a local MCP smoke, then `noodle dev` to serve.
32
+
33
+ ## Secrets and variables
34
+
35
+ Use `noodle secrets set` and `noodle variables set` for runtime configuration. Keep secrets, bearer tokens, refresh tokens, static access keys, `.env.noodle` values, and `~/.noodle/config.json` out of prompts, logs, docs, tests, and generated files. Hosted access is identity-based — do not add static data-plane credential paths.
36
+
37
+ ## Customization
38
+
39
+ This skill is regenerated by `noodle agents setup --write`. For project-specific standards, create a separate skill; do not edit this file.
40
+
41
+ ## Boundaries
42
+
43
+ Do not hand-author manifest JSON/YAML, runtime artifacts, connector IR, or hosted asset metadata. Do not read or copy secrets, bearer tokens, refresh tokens, static access keys, `.env.noodle`, or `~/.noodle/config.json`.
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: noodle-seed
3
+ description: Use when building, testing, or debugging a local Noodle Seed MCP server or app authored in TypeScript with the noodle CLI.
4
+ version: 0.1.0
5
+ hash: 558cd059cf167f41
6
+ ---
7
+
8
+ # Noodle Seed
9
+
10
+ Use this skill for local Noodle Seed project work. Start from the project entrypoint, usually `server.ts`, and keep the authoring surface TypeScript-only.
11
+
12
+ ## SDK surface
13
+
14
+ Import from `@noodleseed/one`: `server`, `tool`, `toolWithWidget`, `toolForWidget`, `resource`, `prompt`, `widget`, `connector` (`.http()`/`.compute()`/`.version()`), `annotations`, `asset`, `handoffSession`, `when`, `ui`, and `z`. These are the declarative builders that emit manifest data — do not hand-author the manifest/runtime artifact.
15
+
16
+ ## CLI surface
17
+
18
+ - Authoring: `noodle init`, `noodle import openapi <file>`, `noodle export manifest`, `noodle validate`, `noodle test`.
19
+ - Local run: `noodle dev`, `noodle check`, `noodle devtools`, `noodle tools`, `noodle resources`, `noodle prompts`.
20
+ - Hosted: `noodle login`, `noodle logout`, `noodle whoami`, `noodle orgs`, `noodle connect`, `noodle link`, `noodle deploy`, `noodle status`, `noodle open`, `noodle access`.
21
+ - Config: `noodle secrets set`, `noodle variables set`, `noodle agents setup`.
22
+
23
+ ## Input paths
24
+
25
+ 1. **Website scrape** — if the user provides a URL, scrape it for surface hints (products, services, hours, contact, pricing). Stop there: the URL does not reveal CRM, booking systems, custom APIs, auth model, eligibility rules, quoting logic, or approval flows. Those live in the business systems and the owner head — ask.
26
+ 2. **OpenAPI import** — `noodle import openapi <file>` emits a starter `server.ts` from a spec. Use it when the user provides an OpenAPI document.
27
+ 3. **User interview** — Noodle does not interview; you do. Cover: custom APIs/integrations, eligibility rules, quoting/approval logic, and private schemas (SQL DDL or JSON samples for custom `connector` declarations). Do: ask for concrete examples and sample payloads. Do not: guess a schema from a URL or invent endpoints.
28
+
29
+ ## Repair loop
30
+
31
+ Run `noodle validate`, read the errors, fix the specific errors cited (the `path` locates the field, `expected`/`got`/`didYouMean?`/`suggestions?` describe the fix), then re-validate. Do not freeform re-edit. Once `noodle validate` passes, run `noodle test` for a local MCP smoke, then `noodle dev` to serve.
32
+
33
+ ## Secrets and variables
34
+
35
+ Use `noodle secrets set` and `noodle variables set` for runtime configuration. Keep secrets, bearer tokens, refresh tokens, static access keys, `.env.noodle` values, and `~/.noodle/config.json` out of prompts, logs, docs, tests, and generated files. Hosted access is identity-based — do not add static data-plane credential paths.
36
+
37
+ ## Customization
38
+
39
+ This skill is regenerated by `noodle agents setup --write`. For project-specific standards, create a separate skill; do not edit this file.
40
+
41
+ ## Boundaries
42
+
43
+ Do not hand-author manifest JSON/YAML, runtime artifacts, connector IR, or hosted asset metadata. Do not read or copy secrets, bearer tokens, refresh tokens, static access keys, `.env.noodle`, or `~/.noodle/config.json`.