@noodleseed/agent-kit 0.93.0 → 0.95.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.
Files changed (100) hide show
  1. package/manifest.json +567 -359
  2. package/package.json +1 -1
  3. package/skills/claude-code/SKILL.md +1 -1
  4. package/skills/claude-code/authoring-mcp-servers/SKILL.md +1 -1
  5. package/skills/claude-code/authoring-mcp-servers/references/authoring-workflow.md +5 -11
  6. package/skills/claude-code/authoring-mcp-servers/references/build-an-mcp-server.md +2 -2
  7. package/skills/claude-code/building-mcp-apps/SKILL.md +1 -1
  8. package/skills/claude-code/building-mcp-apps/references/build-an-mcp-app.md +2 -2
  9. package/skills/claude-code/connecting-apis-to-mcp/SKILL.md +1 -1
  10. package/skills/claude-code/connecting-apis-to-mcp/references/authoring-workflow.md +5 -11
  11. package/skills/claude-code/connecting-apis-to-mcp/references/connect-an-api.md +2 -2
  12. package/skills/claude-code/creating-product-agent-guides/SKILL.md +1 -1
  13. package/skills/claude-code/debugging-mcp-delivery/SKILL.md +1 -1
  14. package/skills/claude-code/debugging-mcp-delivery/references/verify-and-recover.md +2 -1
  15. package/skills/claude-code/deploying-mcp-services/SKILL.md +1 -1
  16. package/skills/claude-code/designing-mcp-products/SKILL.md +1 -1
  17. package/skills/claude-code/designing-mcp-products/references/authoring-workflow.md +5 -11
  18. package/skills/claude-code/embedding-mcp-assistants/SKILL.md +1 -1
  19. package/skills/claude-code/embedding-mcp-assistants/references/authoring-workflow.md +5 -11
  20. package/skills/claude-code/embedding-mcp-assistants/references/embedded-assistant.md +35 -27
  21. package/skills/claude-code/examples/acme-discovery/src/server.ts +7 -0
  22. package/skills/claude-code/examples/acme-tasks/README.md +14 -4
  23. package/skills/claude-code/examples/customer-auth/README.md +3 -0
  24. package/skills/claude-code/examples/hello/README.md +4 -2
  25. package/skills/claude-code/examples/stateful-draft/README.md +115 -0
  26. package/skills/claude-code/examples/stateful-draft/noodle.json +5 -0
  27. package/skills/claude-code/examples/stateful-draft/package.json +22 -0
  28. package/skills/claude-code/examples/stateful-draft/site/client.js +44 -0
  29. package/skills/claude-code/examples/stateful-draft/site/demo.mjs +158 -0
  30. package/skills/claude-code/examples/stateful-draft/site/index.html +41 -0
  31. package/skills/claude-code/examples/stateful-draft/src/helpers.ts +6 -0
  32. package/skills/claude-code/examples/stateful-draft/src/server.ts +159 -0
  33. package/skills/claude-code/examples/stateful-draft/src/views/draft-card.tsx +152 -0
  34. package/skills/claude-code/examples/stateful-draft/src/views/widget-style.css +93 -0
  35. package/skills/claude-code/examples/stateful-draft/test/draft-card.test.tsx +88 -0
  36. package/skills/claude-code/examples/stateful-draft/test/server.test.ts +58 -0
  37. package/skills/claude-code/examples/stateful-draft/vitest.config.ts +6 -0
  38. package/skills/claude-code/executing-noodle-plans/SKILL.md +1 -1
  39. package/skills/claude-code/publishing-mcp-integrations/SKILL.md +1 -1
  40. package/skills/claude-code/references/authoring-workflow.md +5 -11
  41. package/skills/claude-code/references/build-an-mcp-app.md +2 -2
  42. package/skills/claude-code/references/build-an-mcp-server.md +2 -2
  43. package/skills/claude-code/references/connect-an-api.md +2 -2
  44. package/skills/claude-code/references/embedded-assistant.md +35 -27
  45. package/skills/claude-code/references/examples.md +1 -1
  46. package/skills/claude-code/references/verify-and-recover.md +2 -1
  47. package/skills/claude-code/reporting-noodle-feedback/SKILL.md +1 -1
  48. package/skills/claude-code/verifying-mcp-delivery/SKILL.md +1 -1
  49. package/skills/claude-code/verifying-mcp-delivery/references/verify-and-recover.md +2 -1
  50. package/skills/claude-code/wrapping-existing-applications/SKILL.md +1 -1
  51. package/skills/claude-code/wrapping-existing-applications/references/authoring-workflow.md +5 -11
  52. package/skills/codex/SKILL.md +1 -1
  53. package/skills/codex/authoring-mcp-servers/SKILL.md +1 -1
  54. package/skills/codex/authoring-mcp-servers/references/authoring-workflow.md +5 -11
  55. package/skills/codex/authoring-mcp-servers/references/build-an-mcp-server.md +2 -2
  56. package/skills/codex/building-mcp-apps/SKILL.md +1 -1
  57. package/skills/codex/building-mcp-apps/references/build-an-mcp-app.md +2 -2
  58. package/skills/codex/connecting-apis-to-mcp/SKILL.md +1 -1
  59. package/skills/codex/connecting-apis-to-mcp/references/authoring-workflow.md +5 -11
  60. package/skills/codex/connecting-apis-to-mcp/references/connect-an-api.md +2 -2
  61. package/skills/codex/creating-product-agent-guides/SKILL.md +1 -1
  62. package/skills/codex/debugging-mcp-delivery/SKILL.md +1 -1
  63. package/skills/codex/debugging-mcp-delivery/references/verify-and-recover.md +2 -1
  64. package/skills/codex/deploying-mcp-services/SKILL.md +1 -1
  65. package/skills/codex/designing-mcp-products/SKILL.md +1 -1
  66. package/skills/codex/designing-mcp-products/references/authoring-workflow.md +5 -11
  67. package/skills/codex/embedding-mcp-assistants/SKILL.md +1 -1
  68. package/skills/codex/embedding-mcp-assistants/references/authoring-workflow.md +5 -11
  69. package/skills/codex/embedding-mcp-assistants/references/embedded-assistant.md +35 -27
  70. package/skills/codex/examples/acme-discovery/src/server.ts +7 -0
  71. package/skills/codex/examples/acme-tasks/README.md +14 -4
  72. package/skills/codex/examples/customer-auth/README.md +3 -0
  73. package/skills/codex/examples/hello/README.md +4 -2
  74. package/skills/codex/examples/stateful-draft/README.md +115 -0
  75. package/skills/codex/examples/stateful-draft/noodle.json +5 -0
  76. package/skills/codex/examples/stateful-draft/package.json +22 -0
  77. package/skills/codex/examples/stateful-draft/site/client.js +44 -0
  78. package/skills/codex/examples/stateful-draft/site/demo.mjs +158 -0
  79. package/skills/codex/examples/stateful-draft/site/index.html +41 -0
  80. package/skills/codex/examples/stateful-draft/src/helpers.ts +6 -0
  81. package/skills/codex/examples/stateful-draft/src/server.ts +159 -0
  82. package/skills/codex/examples/stateful-draft/src/views/draft-card.tsx +152 -0
  83. package/skills/codex/examples/stateful-draft/src/views/widget-style.css +93 -0
  84. package/skills/codex/examples/stateful-draft/test/draft-card.test.tsx +88 -0
  85. package/skills/codex/examples/stateful-draft/test/server.test.ts +58 -0
  86. package/skills/codex/examples/stateful-draft/vitest.config.ts +6 -0
  87. package/skills/codex/executing-noodle-plans/SKILL.md +1 -1
  88. package/skills/codex/publishing-mcp-integrations/SKILL.md +1 -1
  89. package/skills/codex/references/authoring-workflow.md +5 -11
  90. package/skills/codex/references/build-an-mcp-app.md +2 -2
  91. package/skills/codex/references/build-an-mcp-server.md +2 -2
  92. package/skills/codex/references/connect-an-api.md +2 -2
  93. package/skills/codex/references/embedded-assistant.md +35 -27
  94. package/skills/codex/references/examples.md +1 -1
  95. package/skills/codex/references/verify-and-recover.md +2 -1
  96. package/skills/codex/reporting-noodle-feedback/SKILL.md +1 -1
  97. package/skills/codex/verifying-mcp-delivery/SKILL.md +1 -1
  98. package/skills/codex/verifying-mcp-delivery/references/verify-and-recover.md +2 -1
  99. package/skills/codex/wrapping-existing-applications/SKILL.md +1 -1
  100. package/skills/codex/wrapping-existing-applications/references/authoring-workflow.md +5 -11
@@ -15,6 +15,7 @@ Paths are relative to this skill directory. Assets (images/fonts) are omitted fr
15
15
  | `acme-tasks` | A two-way productivity app designed around its top-3 prioritized flows (capture/prioritize/complete), with a design-first flow spec + wireframe. | `examples/acme-tasks/src/server.ts` + `design/` |
16
16
  | `acme-bistro` | End-to-end ordering with a payment-only handoff; ships a gold-standard `design/` set (UX doc, wireframe with compliance audit, API contract). | `examples/acme-bistro/src/server.ts` + `design/` |
17
17
  | `customer-auth` | End-user OIDC, private customer API routing, route-bound confirmed actions, roles/scopes, and delegated credentials. | `examples/customer-auth/src/server.ts` |
18
+ | `stateful-draft` | Review and save a brief before signup; carry caller-scoped state into an account. | `examples/stateful-draft/src/server.ts` |
18
19
  | `gmail-multi-account` | One curated Gmail connector reused by two account bindings, canonical account arrays, exact mutation confirmation, and an accompanying personal-automation skill. | `examples/gmail-multi-account/src/server.ts` |
19
20
  | `google-bigquery` | Keyless Google Workload Identity Federation with optional service-account impersonation, a BigQuery REST connector, and complete developer/operator setup. | `examples/google-bigquery/src/server.ts` |
20
21
 
@@ -22,7 +23,6 @@ Paths are relative to this skill directory. Assets (images/fonts) are omitted fr
22
23
 
23
24
  | Example | Use when |
24
25
  | :-- | :-- |
25
- | `stateful-draft` | Durable, caller-scoped widget state handles with optimistic revisions. |
26
26
  | `perplexity` | A real SaaS API with bearer auth and a managed `secret`. |
27
27
  | `bitcoin` | API-key HTTP connector, custom auth header, and compute normalization. |
28
28
  | `sharepoint` | Microsoft SharePoint delegated Microsoft Entra auth and Graph tools. |
@@ -23,6 +23,7 @@ Use this ordered evidence ladder. Start at the last known passing layer or the l
23
23
  1. **Compile** — the TypeScript build and authoring import surface are valid.
24
24
  2. **Validate** — `noodle validate --json` accepts the Noodle contract.
25
25
  3. **Local smoke** — `noodle test --json` starts the local runtime. Open apps exercise MCP registration; customer-auth apps must instead pass the anonymous 401 plus exact protected-resource metadata boundary and report `interactiveRequired: true`.
26
+ To prove a safe read, explicitly supply `--tool <read_tool> --args <json>` or use `noodle tools call <read_tool> --args <json> --json`. These commands fail on protocol/tool errors, missing or incomplete results, and a declared output-schema mismatch. `input_required` is not completion: use Devtools for interactive input, never fabricate approval or retry an uncertain write.
26
27
  4. **Customer auth** — when customer auth is declared, run `noodle auth doctor src/server.ts --json` for metadata and JWKS readiness, then run `noodle devtools src/server.ts`, complete sign-in, and make one authenticated `tools/list` request or representative safe read. The doctor does not prove that registration or token issuance succeeds; the authenticated request proves issuer, signature, stable audience, and exact-resource binding together.
27
28
  5. **Real API** — a representative safe `noodle tools call` proves connector credentials, transport, observed mapping, and populated data.
28
29
  6. **App compliance** — `noodle check --json` and local devtools prove the App contract and intended states.
@@ -53,7 +54,7 @@ Report a compact ledger for every exercised layer: command/action, target, resul
53
54
  ## Recovery paths
54
55
 
55
56
  - Compile/validation: repair the exact import, schema, or reported path, then rerun that command without freeform changes.
56
- - Local boot/smoke: use the structured startup error to correct the effective target, config, or entrypoint before retrying.
57
+ - Local boot/smoke: use all reported missing variable and secret names and the exact-target recovery commands together. Values stay outside the diagnostic. `error.detail.reason` identifies incomplete/failed operation evidence; RPC message/data and continuation state are deliberately not copied. A failed response does not prove a write was rolled back.
57
58
  - Real API: distinguish authentication, reachability, legitimate empty results, and broken response mappings before changing code.
58
59
  - App: repair the cited contract or state in `noodle check --json`, then confirm it in devtools before attempting a host.
59
60
  - Host/deployment/production: confirm revision, target, identity, and configuration independently; do not infer one from another.
@@ -3,7 +3,7 @@ name: reporting-noodle-feedback
3
3
  description: "Use when a Noodle Seed bug, misleading instruction, missing capability, or concrete product improvement should be proposed to the user."
4
4
  ---
5
5
 
6
- <!-- noodle-skill version:0.93.0 hash:660cc6ad9469d90f -->
6
+ <!-- noodle-skill version:0.95.0 hash:660cc6ad9469d90f -->
7
7
 
8
8
  # reporting-noodle-feedback
9
9
 
@@ -3,7 +3,7 @@ name: verifying-mcp-delivery
3
3
  description: "Use when proving a Noodle Seed MCP project works at a named compile, local, connector, App, host, deployment, or production evidence level."
4
4
  ---
5
5
 
6
- <!-- noodle-skill version:0.93.0 hash:292253cbaed9a3c5 -->
6
+ <!-- noodle-skill version:0.95.0 hash:292253cbaed9a3c5 -->
7
7
 
8
8
  # verifying-mcp-delivery
9
9
 
@@ -23,6 +23,7 @@ Use this ordered evidence ladder. Start at the last known passing layer or the l
23
23
  1. **Compile** — the TypeScript build and authoring import surface are valid.
24
24
  2. **Validate** — `noodle validate --json` accepts the Noodle contract.
25
25
  3. **Local smoke** — `noodle test --json` starts the local runtime. Open apps exercise MCP registration; customer-auth apps must instead pass the anonymous 401 plus exact protected-resource metadata boundary and report `interactiveRequired: true`.
26
+ To prove a safe read, explicitly supply `--tool <read_tool> --args <json>` or use `noodle tools call <read_tool> --args <json> --json`. These commands fail on protocol/tool errors, missing or incomplete results, and a declared output-schema mismatch. `input_required` is not completion: use Devtools for interactive input, never fabricate approval or retry an uncertain write.
26
27
  4. **Customer auth** — when customer auth is declared, run `noodle auth doctor src/server.ts --json` for metadata and JWKS readiness, then run `noodle devtools src/server.ts`, complete sign-in, and make one authenticated `tools/list` request or representative safe read. The doctor does not prove that registration or token issuance succeeds; the authenticated request proves issuer, signature, stable audience, and exact-resource binding together.
27
28
  5. **Real API** — a representative safe `noodle tools call` proves connector credentials, transport, observed mapping, and populated data.
28
29
  6. **App compliance** — `noodle check --json` and local devtools prove the App contract and intended states.
@@ -53,7 +54,7 @@ Report a compact ledger for every exercised layer: command/action, target, resul
53
54
  ## Recovery paths
54
55
 
55
56
  - Compile/validation: repair the exact import, schema, or reported path, then rerun that command without freeform changes.
56
- - Local boot/smoke: use the structured startup error to correct the effective target, config, or entrypoint before retrying.
57
+ - Local boot/smoke: use all reported missing variable and secret names and the exact-target recovery commands together. Values stay outside the diagnostic. `error.detail.reason` identifies incomplete/failed operation evidence; RPC message/data and continuation state are deliberately not copied. A failed response does not prove a write was rolled back.
57
58
  - Real API: distinguish authentication, reachability, legitimate empty results, and broken response mappings before changing code.
58
59
  - App: repair the cited contract or state in `noodle check --json`, then confirm it in devtools before attempting a host.
59
60
  - Host/deployment/production: confirm revision, target, identity, and configuration independently; do not infer one from another.
@@ -3,7 +3,7 @@ name: wrapping-existing-applications
3
3
  description: "Use when an existing application has no stable usable API and needs a read-only, identity-first Noodle Seed integration plan before implementation."
4
4
  ---
5
5
 
6
- <!-- noodle-skill version:0.93.0 hash:379ab9f64878f1fe -->
6
+ <!-- noodle-skill version:0.95.0 hash:379ab9f64878f1fe -->
7
7
 
8
8
  # wrapping-existing-applications
9
9
 
@@ -393,20 +393,14 @@ Compute `run` functions are serialized and sandboxed: no imports, no closure cap
393
393
 
394
394
  ## Tests
395
395
 
396
- Use Vitest for app-local tests. The generated `npm test` command scans only the project-owned `test/` directory; skill-local example tests are reference material, not part of the app suite. Keep fixtures project-local; do not import from `examples/`. A minimum test suite imports the default server, checks the intended definitions compile, then lets `noodle test --json` perform the loopback MCP smoke.
396
+ Start from the generated `test/server.test.ts`, not a blank test file. `npm test` runs `vitest run --dir test` over the project-owned `test/` directory; skill-local example tests are reference material. The generated suite compiles the actual source/view, lists tools, asserts a representative result and rejects invalid input. It copies source into temporary fixture storage and uses synthetic configuration, never customer secrets or saved hosted targets. The HTTP profile proves one local backend read and zero extra calls for invalid input.
397
397
 
398
- ```ts
399
- import { describe, expect, it } from 'vitest';
400
- import app from '../src/server.js';
401
-
402
- describe('server', () => {
403
- it('declares the expected tool surface', () => {
404
- expect(app.name).toBe('support_assistant');
405
- });
406
- });
398
+ ```sh
399
+ npm test
400
+ npm run agent:check
407
401
  ```
408
402
 
409
- After focused tests pass, run `noodle validate --json`, `noodle test --json`, and then `noodle dev` for interactive local verification.
403
+ Adapt the representative arguments and assertions when business contracts change; keep invalid-input and authorization cases. A name/export assertion or `noodle test --json` without `--tool` proves no useful call. After fixture tests pass, bind the real local configuration, run an authorized representative read, and use `noodle dev` for interactive checks. Never use a production mutation or fixture success as customer-readiness evidence.
410
404
 
411
405
  ## Secrets and variables
412
406