@noodleseed/agent-kit 0.72.0 → 0.74.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/manifest.json +269 -269
- package/package.json +1 -1
- package/skills/claude-code/SKILL.md +1 -1
- package/skills/claude-code/authoring-mcp-servers/SKILL.md +1 -1
- package/skills/claude-code/building-mcp-apps/SKILL.md +1 -1
- package/skills/claude-code/connecting-apis-to-mcp/SKILL.md +1 -1
- package/skills/claude-code/creating-product-agent-guides/SKILL.md +1 -1
- package/skills/claude-code/debugging-mcp-delivery/SKILL.md +1 -1
- package/skills/claude-code/deploying-mcp-services/SKILL.md +1 -1
- package/skills/claude-code/designing-mcp-products/SKILL.md +1 -1
- package/skills/claude-code/embedding-mcp-assistants/SKILL.md +1 -1
- package/skills/claude-code/examples/food-ordering/README.md +22 -1
- package/skills/claude-code/examples/food-ordering/src/server.ts +8 -0
- package/skills/claude-code/examples/food-ordering/test/server.test.ts +3 -1
- package/skills/claude-code/executing-noodle-plans/SKILL.md +1 -1
- package/skills/claude-code/publishing-mcp-integrations/SKILL.md +1 -1
- package/skills/claude-code/references/authoring-workflow.md +2 -0
- package/skills/claude-code/references/cli-commands.md +1 -0
- package/skills/claude-code/references/publishing.md +17 -0
- package/skills/claude-code/reporting-noodle-feedback/SKILL.md +1 -1
- package/skills/claude-code/verifying-mcp-delivery/SKILL.md +1 -1
- package/skills/claude-code/wrapping-existing-applications/SKILL.md +1 -1
- package/skills/codex/SKILL.md +1 -1
- package/skills/codex/authoring-mcp-servers/SKILL.md +1 -1
- package/skills/codex/building-mcp-apps/SKILL.md +1 -1
- package/skills/codex/connecting-apis-to-mcp/SKILL.md +1 -1
- package/skills/codex/creating-product-agent-guides/SKILL.md +1 -1
- package/skills/codex/debugging-mcp-delivery/SKILL.md +1 -1
- package/skills/codex/deploying-mcp-services/SKILL.md +1 -1
- package/skills/codex/designing-mcp-products/SKILL.md +1 -1
- package/skills/codex/embedding-mcp-assistants/SKILL.md +1 -1
- package/skills/codex/examples/food-ordering/README.md +22 -1
- package/skills/codex/examples/food-ordering/src/server.ts +8 -0
- package/skills/codex/examples/food-ordering/test/server.test.ts +3 -1
- package/skills/codex/executing-noodle-plans/SKILL.md +1 -1
- package/skills/codex/publishing-mcp-integrations/SKILL.md +1 -1
- package/skills/codex/references/authoring-workflow.md +2 -0
- package/skills/codex/references/cli-commands.md +1 -0
- package/skills/codex/references/publishing.md +17 -0
- package/skills/codex/reporting-noodle-feedback/SKILL.md +1 -1
- package/skills/codex/verifying-mcp-delivery/SKILL.md +1 -1
- package/skills/codex/wrapping-existing-applications/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noodleseed/agent-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.74.0",
|
|
4
4
|
"private": false,
|
|
5
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
6
|
"license": "Apache-2.0",
|
|
@@ -3,7 +3,7 @@ name: noodle-seed
|
|
|
3
3
|
description: "Use when building, validating, testing, deploying, or operating a local or hosted Noodle Seed MCP server or app authored in TypeScript with the noodle CLI."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:13ddce01769caae4 -->
|
|
7
7
|
|
|
8
8
|
# Noodle Seed
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: authoring-mcp-servers
|
|
|
3
3
|
description: "Use when creating or extending a headless Noodle Seed MCP server, tool, resource, prompt, or typed model-facing capability."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:11523cb33b9473c0 -->
|
|
7
7
|
|
|
8
8
|
# authoring-mcp-servers
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: building-mcp-apps
|
|
|
3
3
|
description: "Use when a Noodle Seed MCP App, widget, interactive card, visual interaction, or host-visible UI is the primary requested outcome."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:9fd67d4d24328e15 -->
|
|
7
7
|
|
|
8
8
|
# building-mcp-apps
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: connecting-apis-to-mcp
|
|
|
3
3
|
description: "Use when all four API-evidence inputs exist—and only then: API base URL, authentication scheme, representative safe read, and observed response."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:21bbd3ec441ffd30 -->
|
|
7
7
|
|
|
8
8
|
# connecting-apis-to-mcp
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: creating-product-agent-guides
|
|
|
3
3
|
description: "Use when a Noodle Seed MCP server needs a new or revised product agent guide, App Package skill, or explicit product-skill regeneration."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:0fa48a82fe836cf0 -->
|
|
7
7
|
|
|
8
8
|
# creating-product-agent-guides
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: debugging-mcp-delivery
|
|
|
3
3
|
description: "Use when an existing Noodle Seed MCP project has a concrete validation, runtime, connector, App, host, deployment, or production failure."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:aa715bae12041d7c -->
|
|
7
7
|
|
|
8
8
|
# debugging-mcp-delivery
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: deploying-mcp-services
|
|
|
3
3
|
description: "Use when the user explicitly requests a Noodle Seed hosted link, configuration write, deployment, access change, rollback, or connection write."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:93e735b7ffb45df1 -->
|
|
7
7
|
|
|
8
8
|
# deploying-mcp-services
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: designing-mcp-products
|
|
|
3
3
|
description: "Use when a Noodle Seed MCP product idea needs conversational fit, user benefit, scope, interaction, or evidence design before implementation."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:78a6f181b61f92f1 -->
|
|
7
7
|
|
|
8
8
|
# designing-mcp-products
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: embedding-mcp-assistants
|
|
|
3
3
|
description: "Use when embedding a Noodle assistant into an existing SaaS or web application with browser, identity, session, and credential boundaries."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:cc54a67f21c0ecdb -->
|
|
7
7
|
|
|
8
8
|
# embedding-mcp-assistants
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ private customer data.
|
|
|
20
20
|
| Durable cart state | `server(..., { state: { handles: { cart } }, use: { state } })` with caller scope and revision checks |
|
|
21
21
|
| React app runtime kit | `@noodleseed/one/react` supplies app flow, shell/nav/view, async state, form, quantity, choice, and handoff primitives |
|
|
22
22
|
| Multi-step widget flow | One React shell navigates stores, menu, item customization, cart, review, and handoff views through `useAppFlow` |
|
|
23
|
-
| Invocation context | `server.context` sets locale/time-zone defaults, derives an ambient service area/date, and
|
|
23
|
+
| Invocation context | `server.context` sets locale/time-zone defaults, derives an ambient service area/date, and exposes optional host-supplied coordinates to tools and the reserved `noodle_context` MCP adapter; location is an untrusted convenience hint, never an authorization signal or a substitute for explicit input |
|
|
24
24
|
| Structured missing input | `plan_order` uses `ctx.elicit` to collect a fulfilment method and date through embedded/headless forms, standard bidirectional elicitation, a linked MCP App form, or an exact structured conversational retry on stateless hosts |
|
|
25
25
|
| Model-visible widget state | `useUpdateModelContext` publishes one cohesive replacement snapshot when supported; `useWidgetLifecycle` auto-publishes mounted/cancelled/dismissed and reports author-owned submitted milestones for future context (not host-presentation proof), while the user-triggered submit pairs `useSendFollowUpMessage` for an immediate reply |
|
|
26
26
|
| Handoff | `handoff.allowedDomains` allows only `https://orders.example.com` checkout URLs |
|
|
@@ -158,6 +158,27 @@ hosted readiness. If it is interrupted, rerun the same command to resume the unf
|
|
|
158
158
|
duplicate deployment. Use `--access org-members` for an org-wide internal demo. This example has no
|
|
159
159
|
connector secrets and does not include tokens, caller-key mechanisms, or `.env.noodle` values.
|
|
160
160
|
|
|
161
|
+
### Publish an immutable host archive
|
|
162
|
+
|
|
163
|
+
Only when this demo is intentionally being prepared for an external directory, deploy it with exact public
|
|
164
|
+
access and use the returned deployment ID to publish the matching local source:
|
|
165
|
+
|
|
166
|
+
```sh
|
|
167
|
+
noodle deploy --org demo --app food-ordering --env prod --access public
|
|
168
|
+
noodle distributions publish <deployment-id> src/server.ts --target openai --category "Food & Drink"
|
|
169
|
+
noodle distributions list <deployment-id> --target openai
|
|
170
|
+
noodle distributions readiness <distribution-id> --status ready --note "Archive and review evidence checked"
|
|
171
|
+
noodle distributions release <distribution-id> --visibility private
|
|
172
|
+
noodle distributions grant <distribution-id> --expires-in 900
|
|
173
|
+
noodle distributions download <distribution-id> --output food-ordering-openai.zip
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Publish fails if local `src/server.ts` no longer compiles to that deployment's package snapshot. Readiness is
|
|
177
|
+
an explicit operator claim, the private release keeps anonymous discovery off, and the grant prints one
|
|
178
|
+
sensitive exact-version reviewer URL. Record `noodle distributions review` only after a human observes the
|
|
179
|
+
real portal state. Public Noodle delivery, rollback, deprecation, and terminal revocation are separate explicit
|
|
180
|
+
actions; none submits to a directory or claims acceptance.
|
|
181
|
+
|
|
161
182
|
## Demo Assets
|
|
162
183
|
|
|
163
184
|
The packaged demo images live under `assets/`. The current app uses `assets/noodle-bowl.jpg` as the server
|
|
@@ -366,6 +366,10 @@ export default server(
|
|
|
366
366
|
featuredItems: z.array(menuItemShape).max(20),
|
|
367
367
|
localDate: z.string(),
|
|
368
368
|
serviceArea: z.string(),
|
|
369
|
+
location: z.object({
|
|
370
|
+
latitude: z.number().optional(),
|
|
371
|
+
longitude: z.number().optional(),
|
|
372
|
+
}),
|
|
369
373
|
fallback: z.string(),
|
|
370
374
|
}),
|
|
371
375
|
fulfil: ({ input, context }) => ({
|
|
@@ -375,6 +379,10 @@ export default server(
|
|
|
375
379
|
featuredItems: menu,
|
|
376
380
|
localDate: context.temporal.localDate,
|
|
377
381
|
serviceArea: context.ambient.serviceArea,
|
|
382
|
+
location: {
|
|
383
|
+
latitude: context.location.latitude.optional(),
|
|
384
|
+
longitude: context.location.longitude.optional(),
|
|
385
|
+
},
|
|
378
386
|
fallback: 'Open stores: Harbor Noodles (Noodles), Garden Wraps (Vegetarian).',
|
|
379
387
|
}),
|
|
380
388
|
viewTitle: 'Food ordering',
|
|
@@ -78,6 +78,8 @@ describe('food-ordering example', () => {
|
|
|
78
78
|
expect(JSON.stringify(tools.get('open_ordering'))).toContain('featuredItems');
|
|
79
79
|
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.temporal.localDate}');
|
|
80
80
|
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.ambient.serviceArea}');
|
|
81
|
+
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.location.latitude}');
|
|
82
|
+
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.location.longitude}');
|
|
81
83
|
expect(JSON.stringify(tools.get('sync_cart'))).toContain('revision');
|
|
82
84
|
expect(tools.get('sync_cart')?.annotations?.confirm).toBe(false);
|
|
83
85
|
expect(tools.get('prepare_checkout')?.annotations?.confirm).toBe(false);
|
|
@@ -111,7 +113,7 @@ describe('food-ordering example', () => {
|
|
|
111
113
|
const distribution = app.toDistributionMetadata();
|
|
112
114
|
expect(distribution).toMatchObject({
|
|
113
115
|
schemaVersion: 1,
|
|
114
|
-
listing: { summary:
|
|
116
|
+
listing: { summary: 'Build a pickup noodle order.' },
|
|
115
117
|
assets: {
|
|
116
118
|
icon: { alt: 'Food Ordering noodle bowl' },
|
|
117
119
|
screenshots: [
|
|
@@ -3,7 +3,7 @@ name: executing-noodle-plans
|
|
|
3
3
|
description: "Use when the user asks to execute an approved, decision-complete implementation plan for a Noodle Seed project task by task with test-first changes, review, recovery, and final verification."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:6a9f132ddb79352e -->
|
|
7
7
|
|
|
8
8
|
# Execute a Noodle Seed implementation plan
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: publishing-mcp-integrations
|
|
|
3
3
|
description: "Use when preparing, reviewing, or submitting a Noodle Seed MCP integration to a host or app directory."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:efffbf82007f935d -->
|
|
7
7
|
|
|
8
8
|
# publishing-mcp-integrations
|
|
9
9
|
|
|
@@ -341,6 +341,8 @@ context: {
|
|
|
341
341
|
|
|
342
342
|
Ambient providers are recorded as fulfilment data at author time, may call read-only connector operations only, and have a declared output schema. Later fulfilments read `${context.temporal.localDate}`, `${context.temporal.timeZone}`, `${context.ambient.defaultTeamId}`, and `${context.ambientStatus}`. If ambient resolution fails, the status is `unavailable`; never invent the missing business facts. Ambient/model-visible context is capped at 16 KiB serialized JSON, depth 8, and 128 entries per container; credential-shaped keys are rejected.
|
|
343
343
|
|
|
344
|
+
Direct MCP tool calls may also expose an optional, untrusted client hint as `${context.location.latitude}` and `${context.location.longitude}`, with optional `${context.location.city}`, `${context.location.region}`, `${context.location.country}`, and `${context.location.timeZone}`. Noodle exposes location only when the host supplies one complete, finite, in-range coordinate pair. Treat it as a proximity convenience only: never use it for authentication, authorization, policy, compliance, or delivery-address proof. An explicit tool input must override the hint. When location is absent and the operation needs it, ask the user or return a structured location-required result; never substitute a fixed default location.
|
|
345
|
+
|
|
344
346
|
## Ask for structured missing input
|
|
345
347
|
|
|
346
348
|
Use `ctx.elicit` inside a tool fulfilment when execution needs one bounded value from the user. The call records an `elicit` flow step and returns its symbolic scope; it does not prompt at author time:
|
|
@@ -59,6 +59,7 @@ Developer-facing `noodle` commands, grouped by area. Local authoring commands (`
|
|
|
59
59
|
| `noodle apps` | List or inspect hosted apps for an org (`apps list`/`apps inspect <app>`). |
|
|
60
60
|
| `noodle envs` | List or inspect environments for an app (`envs list`/`envs inspect <env>`). |
|
|
61
61
|
| `noodle deployments` | List or inspect individual deployments (`deployments list`/`deployments inspect <id>`). |
|
|
62
|
+
| `noodle distributions` | Publish immutable host archives, record their lifecycle, and operate bounded delivery. |
|
|
62
63
|
| `noodle service` | Query hosted service capabilities. |
|
|
63
64
|
| `noodle login` | Authenticate with Noodle Seed Cloud. |
|
|
64
65
|
| `noodle logout` | Clear saved credentials. |
|
|
@@ -8,6 +8,7 @@ Directory requirements evolve. Identify the requested directory first and verify
|
|
|
8
8
|
|
|
9
9
|
- Shared readiness gate
|
|
10
10
|
- Distribution metadata source
|
|
11
|
+
- Hosted immutable distribution
|
|
11
12
|
- Directory-specific evidence
|
|
12
13
|
- Submission boundary
|
|
13
14
|
|
|
@@ -35,6 +36,22 @@ Local or repository testing and public-directory submission are distinct packagi
|
|
|
35
36
|
|
|
36
37
|
When an export reports `uploadArtifacts`, treat its output archive as an outer review kit. Extract it, follow the generated instructions, and upload only the named inner artifacts to their matching fields. Never substitute the outer kit for a nested single-purpose upload.
|
|
37
38
|
|
|
39
|
+
## Hosted immutable distribution
|
|
40
|
+
|
|
41
|
+
Publishing a deployment-bound archive is a hosted mutation. Run it only when the current request explicitly authorizes that exact deployment and target: `noodle distributions publish <deployment-id> [server.ts] --target <target>`. The command compiles local TypeScript and requires its package snapshot to exactly match the selected deployment before it uploads anything. It uses the endpoint and package identity returned by the service; never substitute a local URL or a different deployment.
|
|
42
|
+
|
|
43
|
+
Use `noodle distributions list <deployment-id>` to discover immutable versions, `noodle distributions inspect <distribution-id>` to inspect one, and `noodle distributions download <distribution-id> --output <archive.zip>` to retrieve its exact archive. Download verifies the service length and digest before an atomic local write; a failed verification must leave no output file.
|
|
44
|
+
|
|
45
|
+
Lifecycle and delivery are separate mutations. Run `readiness`, `review`, `release`, `rollback`, `deprecate`, `revoke`, or `grant` only when the request explicitly authorizes that exact distribution and action. Inspect first when the active state or version is not already known.
|
|
46
|
+
|
|
47
|
+
Set readiness from evidence you can verify. Record `review` only from a real human-observed host status; never infer submission, approval, or publication from a generated archive or a successful Noodle command, and never put reviewer credentials or secrets in feedback.
|
|
48
|
+
|
|
49
|
+
`release --visibility private` creates or advances a stable Noodle channel without anonymous discovery; `release --visibility public` enables Noodle public delivery only. Both still require the underlying MCP deployment to use exact public access. Neither action publishes to an external directory.
|
|
50
|
+
|
|
51
|
+
`grant` returns one short-lived, exact-version bearer URL. Treat the complete URL as a secret, disclose it only to the authorized reviewer, and do not paste it into source, logs, issues, or durable docs. `rollback` moves only the channel pointer to an older ready version; `deprecate` stops delivery and `revoke` is terminal.
|
|
52
|
+
|
|
53
|
+
A hosted archive is still a submission candidate. Creating, listing, inspecting, downloading, releasing, or granting it does not submit it to an external directory, satisfy review, or publish a host listing.
|
|
54
|
+
|
|
38
55
|
## Directory-specific evidence
|
|
39
56
|
|
|
40
57
|
Read the selected directory’s current official submission documentation at review time. Record each additional requirement separately from the shared checklist, including listing fields, identity verification, test credentials, screenshots, policy declarations, review limits, and appeal or resubmission steps. Never project one directory’s requirements onto 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.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:0f404109f4845683 -->
|
|
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.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:6ef6ef551e26b78e -->
|
|
7
7
|
|
|
8
8
|
# verifying-mcp-delivery
|
|
9
9
|
|
|
@@ -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.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:eccc3c158dcafba8 -->
|
|
7
7
|
|
|
8
8
|
# wrapping-existing-applications
|
|
9
9
|
|
package/skills/codex/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: noodle-seed
|
|
|
3
3
|
description: "Use when building, validating, testing, deploying, or operating a local or hosted Noodle Seed MCP server or app authored in TypeScript with the noodle CLI."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:13ddce01769caae4 -->
|
|
7
7
|
|
|
8
8
|
# Noodle Seed
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: authoring-mcp-servers
|
|
|
3
3
|
description: "Use when creating or extending a headless Noodle Seed MCP server, tool, resource, prompt, or typed model-facing capability."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:11523cb33b9473c0 -->
|
|
7
7
|
|
|
8
8
|
# authoring-mcp-servers
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: building-mcp-apps
|
|
|
3
3
|
description: "Use when a Noodle Seed MCP App, widget, interactive card, visual interaction, or host-visible UI is the primary requested outcome."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:9fd67d4d24328e15 -->
|
|
7
7
|
|
|
8
8
|
# building-mcp-apps
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: connecting-apis-to-mcp
|
|
|
3
3
|
description: "Use when all four API-evidence inputs exist—and only then: API base URL, authentication scheme, representative safe read, and observed response."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:21bbd3ec441ffd30 -->
|
|
7
7
|
|
|
8
8
|
# connecting-apis-to-mcp
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: creating-product-agent-guides
|
|
|
3
3
|
description: "Use when a Noodle Seed MCP server needs a new or revised product agent guide, App Package skill, or explicit product-skill regeneration."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:0fa48a82fe836cf0 -->
|
|
7
7
|
|
|
8
8
|
# creating-product-agent-guides
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: debugging-mcp-delivery
|
|
|
3
3
|
description: "Use when an existing Noodle Seed MCP project has a concrete validation, runtime, connector, App, host, deployment, or production failure."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:aa715bae12041d7c -->
|
|
7
7
|
|
|
8
8
|
# debugging-mcp-delivery
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: deploying-mcp-services
|
|
|
3
3
|
description: "Use when the user explicitly requests a Noodle Seed hosted link, configuration write, deployment, access change, rollback, or connection write."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:93e735b7ffb45df1 -->
|
|
7
7
|
|
|
8
8
|
# deploying-mcp-services
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: designing-mcp-products
|
|
|
3
3
|
description: "Use when a Noodle Seed MCP product idea needs conversational fit, user benefit, scope, interaction, or evidence design before implementation."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:78a6f181b61f92f1 -->
|
|
7
7
|
|
|
8
8
|
# designing-mcp-products
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: embedding-mcp-assistants
|
|
|
3
3
|
description: "Use when embedding a Noodle assistant into an existing SaaS or web application with browser, identity, session, and credential boundaries."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:cc54a67f21c0ecdb -->
|
|
7
7
|
|
|
8
8
|
# embedding-mcp-assistants
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ private customer data.
|
|
|
20
20
|
| Durable cart state | `server(..., { state: { handles: { cart } }, use: { state } })` with caller scope and revision checks |
|
|
21
21
|
| React app runtime kit | `@noodleseed/one/react` supplies app flow, shell/nav/view, async state, form, quantity, choice, and handoff primitives |
|
|
22
22
|
| Multi-step widget flow | One React shell navigates stores, menu, item customization, cart, review, and handoff views through `useAppFlow` |
|
|
23
|
-
| Invocation context | `server.context` sets locale/time-zone defaults, derives an ambient service area/date, and
|
|
23
|
+
| Invocation context | `server.context` sets locale/time-zone defaults, derives an ambient service area/date, and exposes optional host-supplied coordinates to tools and the reserved `noodle_context` MCP adapter; location is an untrusted convenience hint, never an authorization signal or a substitute for explicit input |
|
|
24
24
|
| Structured missing input | `plan_order` uses `ctx.elicit` to collect a fulfilment method and date through embedded/headless forms, standard bidirectional elicitation, a linked MCP App form, or an exact structured conversational retry on stateless hosts |
|
|
25
25
|
| Model-visible widget state | `useUpdateModelContext` publishes one cohesive replacement snapshot when supported; `useWidgetLifecycle` auto-publishes mounted/cancelled/dismissed and reports author-owned submitted milestones for future context (not host-presentation proof), while the user-triggered submit pairs `useSendFollowUpMessage` for an immediate reply |
|
|
26
26
|
| Handoff | `handoff.allowedDomains` allows only `https://orders.example.com` checkout URLs |
|
|
@@ -158,6 +158,27 @@ hosted readiness. If it is interrupted, rerun the same command to resume the unf
|
|
|
158
158
|
duplicate deployment. Use `--access org-members` for an org-wide internal demo. This example has no
|
|
159
159
|
connector secrets and does not include tokens, caller-key mechanisms, or `.env.noodle` values.
|
|
160
160
|
|
|
161
|
+
### Publish an immutable host archive
|
|
162
|
+
|
|
163
|
+
Only when this demo is intentionally being prepared for an external directory, deploy it with exact public
|
|
164
|
+
access and use the returned deployment ID to publish the matching local source:
|
|
165
|
+
|
|
166
|
+
```sh
|
|
167
|
+
noodle deploy --org demo --app food-ordering --env prod --access public
|
|
168
|
+
noodle distributions publish <deployment-id> src/server.ts --target openai --category "Food & Drink"
|
|
169
|
+
noodle distributions list <deployment-id> --target openai
|
|
170
|
+
noodle distributions readiness <distribution-id> --status ready --note "Archive and review evidence checked"
|
|
171
|
+
noodle distributions release <distribution-id> --visibility private
|
|
172
|
+
noodle distributions grant <distribution-id> --expires-in 900
|
|
173
|
+
noodle distributions download <distribution-id> --output food-ordering-openai.zip
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Publish fails if local `src/server.ts` no longer compiles to that deployment's package snapshot. Readiness is
|
|
177
|
+
an explicit operator claim, the private release keeps anonymous discovery off, and the grant prints one
|
|
178
|
+
sensitive exact-version reviewer URL. Record `noodle distributions review` only after a human observes the
|
|
179
|
+
real portal state. Public Noodle delivery, rollback, deprecation, and terminal revocation are separate explicit
|
|
180
|
+
actions; none submits to a directory or claims acceptance.
|
|
181
|
+
|
|
161
182
|
## Demo Assets
|
|
162
183
|
|
|
163
184
|
The packaged demo images live under `assets/`. The current app uses `assets/noodle-bowl.jpg` as the server
|
|
@@ -366,6 +366,10 @@ export default server(
|
|
|
366
366
|
featuredItems: z.array(menuItemShape).max(20),
|
|
367
367
|
localDate: z.string(),
|
|
368
368
|
serviceArea: z.string(),
|
|
369
|
+
location: z.object({
|
|
370
|
+
latitude: z.number().optional(),
|
|
371
|
+
longitude: z.number().optional(),
|
|
372
|
+
}),
|
|
369
373
|
fallback: z.string(),
|
|
370
374
|
}),
|
|
371
375
|
fulfil: ({ input, context }) => ({
|
|
@@ -375,6 +379,10 @@ export default server(
|
|
|
375
379
|
featuredItems: menu,
|
|
376
380
|
localDate: context.temporal.localDate,
|
|
377
381
|
serviceArea: context.ambient.serviceArea,
|
|
382
|
+
location: {
|
|
383
|
+
latitude: context.location.latitude.optional(),
|
|
384
|
+
longitude: context.location.longitude.optional(),
|
|
385
|
+
},
|
|
378
386
|
fallback: 'Open stores: Harbor Noodles (Noodles), Garden Wraps (Vegetarian).',
|
|
379
387
|
}),
|
|
380
388
|
viewTitle: 'Food ordering',
|
|
@@ -78,6 +78,8 @@ describe('food-ordering example', () => {
|
|
|
78
78
|
expect(JSON.stringify(tools.get('open_ordering'))).toContain('featuredItems');
|
|
79
79
|
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.temporal.localDate}');
|
|
80
80
|
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.ambient.serviceArea}');
|
|
81
|
+
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.location.latitude}');
|
|
82
|
+
expect(JSON.stringify(tools.get('open_ordering'))).toContain('${context.location.longitude}');
|
|
81
83
|
expect(JSON.stringify(tools.get('sync_cart'))).toContain('revision');
|
|
82
84
|
expect(tools.get('sync_cart')?.annotations?.confirm).toBe(false);
|
|
83
85
|
expect(tools.get('prepare_checkout')?.annotations?.confirm).toBe(false);
|
|
@@ -111,7 +113,7 @@ describe('food-ordering example', () => {
|
|
|
111
113
|
const distribution = app.toDistributionMetadata();
|
|
112
114
|
expect(distribution).toMatchObject({
|
|
113
115
|
schemaVersion: 1,
|
|
114
|
-
listing: { summary:
|
|
116
|
+
listing: { summary: 'Build a pickup noodle order.' },
|
|
115
117
|
assets: {
|
|
116
118
|
icon: { alt: 'Food Ordering noodle bowl' },
|
|
117
119
|
screenshots: [
|
|
@@ -3,7 +3,7 @@ name: executing-noodle-plans
|
|
|
3
3
|
description: "Use when the user asks to execute an approved, decision-complete implementation plan for a Noodle Seed project task by task with test-first changes, review, recovery, and final verification."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:6a9f132ddb79352e -->
|
|
7
7
|
|
|
8
8
|
# Execute a Noodle Seed implementation plan
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: publishing-mcp-integrations
|
|
|
3
3
|
description: "Use when preparing, reviewing, or submitting a Noodle Seed MCP integration to a host or app directory."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- noodle-skill version:0.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:efffbf82007f935d -->
|
|
7
7
|
|
|
8
8
|
# publishing-mcp-integrations
|
|
9
9
|
|
|
@@ -341,6 +341,8 @@ context: {
|
|
|
341
341
|
|
|
342
342
|
Ambient providers are recorded as fulfilment data at author time, may call read-only connector operations only, and have a declared output schema. Later fulfilments read `${context.temporal.localDate}`, `${context.temporal.timeZone}`, `${context.ambient.defaultTeamId}`, and `${context.ambientStatus}`. If ambient resolution fails, the status is `unavailable`; never invent the missing business facts. Ambient/model-visible context is capped at 16 KiB serialized JSON, depth 8, and 128 entries per container; credential-shaped keys are rejected.
|
|
343
343
|
|
|
344
|
+
Direct MCP tool calls may also expose an optional, untrusted client hint as `${context.location.latitude}` and `${context.location.longitude}`, with optional `${context.location.city}`, `${context.location.region}`, `${context.location.country}`, and `${context.location.timeZone}`. Noodle exposes location only when the host supplies one complete, finite, in-range coordinate pair. Treat it as a proximity convenience only: never use it for authentication, authorization, policy, compliance, or delivery-address proof. An explicit tool input must override the hint. When location is absent and the operation needs it, ask the user or return a structured location-required result; never substitute a fixed default location.
|
|
345
|
+
|
|
344
346
|
## Ask for structured missing input
|
|
345
347
|
|
|
346
348
|
Use `ctx.elicit` inside a tool fulfilment when execution needs one bounded value from the user. The call records an `elicit` flow step and returns its symbolic scope; it does not prompt at author time:
|
|
@@ -59,6 +59,7 @@ Developer-facing `noodle` commands, grouped by area. Local authoring commands (`
|
|
|
59
59
|
| `noodle apps` | List or inspect hosted apps for an org (`apps list`/`apps inspect <app>`). |
|
|
60
60
|
| `noodle envs` | List or inspect environments for an app (`envs list`/`envs inspect <env>`). |
|
|
61
61
|
| `noodle deployments` | List or inspect individual deployments (`deployments list`/`deployments inspect <id>`). |
|
|
62
|
+
| `noodle distributions` | Publish immutable host archives, record their lifecycle, and operate bounded delivery. |
|
|
62
63
|
| `noodle service` | Query hosted service capabilities. |
|
|
63
64
|
| `noodle login` | Authenticate with Noodle Seed Cloud. |
|
|
64
65
|
| `noodle logout` | Clear saved credentials. |
|
|
@@ -8,6 +8,7 @@ Directory requirements evolve. Identify the requested directory first and verify
|
|
|
8
8
|
|
|
9
9
|
- Shared readiness gate
|
|
10
10
|
- Distribution metadata source
|
|
11
|
+
- Hosted immutable distribution
|
|
11
12
|
- Directory-specific evidence
|
|
12
13
|
- Submission boundary
|
|
13
14
|
|
|
@@ -35,6 +36,22 @@ Local or repository testing and public-directory submission are distinct packagi
|
|
|
35
36
|
|
|
36
37
|
When an export reports `uploadArtifacts`, treat its output archive as an outer review kit. Extract it, follow the generated instructions, and upload only the named inner artifacts to their matching fields. Never substitute the outer kit for a nested single-purpose upload.
|
|
37
38
|
|
|
39
|
+
## Hosted immutable distribution
|
|
40
|
+
|
|
41
|
+
Publishing a deployment-bound archive is a hosted mutation. Run it only when the current request explicitly authorizes that exact deployment and target: `noodle distributions publish <deployment-id> [server.ts] --target <target>`. The command compiles local TypeScript and requires its package snapshot to exactly match the selected deployment before it uploads anything. It uses the endpoint and package identity returned by the service; never substitute a local URL or a different deployment.
|
|
42
|
+
|
|
43
|
+
Use `noodle distributions list <deployment-id>` to discover immutable versions, `noodle distributions inspect <distribution-id>` to inspect one, and `noodle distributions download <distribution-id> --output <archive.zip>` to retrieve its exact archive. Download verifies the service length and digest before an atomic local write; a failed verification must leave no output file.
|
|
44
|
+
|
|
45
|
+
Lifecycle and delivery are separate mutations. Run `readiness`, `review`, `release`, `rollback`, `deprecate`, `revoke`, or `grant` only when the request explicitly authorizes that exact distribution and action. Inspect first when the active state or version is not already known.
|
|
46
|
+
|
|
47
|
+
Set readiness from evidence you can verify. Record `review` only from a real human-observed host status; never infer submission, approval, or publication from a generated archive or a successful Noodle command, and never put reviewer credentials or secrets in feedback.
|
|
48
|
+
|
|
49
|
+
`release --visibility private` creates or advances a stable Noodle channel without anonymous discovery; `release --visibility public` enables Noodle public delivery only. Both still require the underlying MCP deployment to use exact public access. Neither action publishes to an external directory.
|
|
50
|
+
|
|
51
|
+
`grant` returns one short-lived, exact-version bearer URL. Treat the complete URL as a secret, disclose it only to the authorized reviewer, and do not paste it into source, logs, issues, or durable docs. `rollback` moves only the channel pointer to an older ready version; `deprecate` stops delivery and `revoke` is terminal.
|
|
52
|
+
|
|
53
|
+
A hosted archive is still a submission candidate. Creating, listing, inspecting, downloading, releasing, or granting it does not submit it to an external directory, satisfy review, or publish a host listing.
|
|
54
|
+
|
|
38
55
|
## Directory-specific evidence
|
|
39
56
|
|
|
40
57
|
Read the selected directory’s current official submission documentation at review time. Record each additional requirement separately from the shared checklist, including listing fields, identity verification, test credentials, screenshots, policy declarations, review limits, and appeal or resubmission steps. Never project one directory’s requirements onto 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.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:0f404109f4845683 -->
|
|
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.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:6ef6ef551e26b78e -->
|
|
7
7
|
|
|
8
8
|
# verifying-mcp-delivery
|
|
9
9
|
|
|
@@ -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.
|
|
6
|
+
<!-- noodle-skill version:0.74.0 hash:eccc3c158dcafba8 -->
|
|
7
7
|
|
|
8
8
|
# wrapping-existing-applications
|
|
9
9
|
|