You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 32e8b66
Browse filesBrowse the repository at this point in the historyBrowse files
build(deps): update devframe to 1.3.0 and drop the resource template patches (#441)
Devframe 1.3.0 ships the resourceTemplates and onResourcesChanged MCP
route options, so an installed package now serves the per-page resource
templates and their list_changed notifications. Before, only the
workspace had them, through patches that don't ship.
The patches are redone against 1.3.0 and keep only the prompts route
option, which devframe still lacks. cac moves to ^7.1.0 so devframe
resolves to one copy. The install e2e checks that `pangular dev` from
the installed package lists resource templates over MCP, and the docs
and the changelog say prompts still need a later devframe. The
extension bundle is rebuilt for the devframe 1.3.0 client code.
Refs #428
Copy file name to clipboardExpand all lines: apps/docs/src/content/agents/mcp-server.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -257,7 +257,7 @@ The prompts follow the same config as the tools. A prompt is left out when a too
257
257
258
258
The argument is your own text. The server puts it on one line, cuts it at 200 characters and masks JWTs, bearer tokens and secret values in it, the same way it masks tool answers.
259
259
260
-
The stdio server offers no prompts. The prompts need a devframe patch that devframe 1.2.6 does not ship, so an installed package offers none until devframe ships it.
260
+
The stdio server offers no prompts. The prompts need a devframe patch that devframe 1.3.0 does not ship, so an installed package offers none until devframe ships it.
Copy file name to clipboardExpand all lines: apps/docs/src/content/agents/resources.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ When a page starts reporting or expires, the server sends `notifications/resourc
111
111
112
112
The HTTP endpoint is stateless, so the notification only reaches a client that keeps a stream open for it: one that speaks the 2026-07-28 protocol and calls `subscriptions/listen` with `resourcesListChanged`. A client on the 2025 protocol versions, such as one built on the MCP SDK 1.x defaults, gets no notification, even though `initialize` advertises `listChanged`. Such a client sees new pages the next time it calls `resources/list`, or through the [templates](#read-one-page), which need no list.
113
113
114
-
Like the prompts, the templates need a devframe patch that devframe 1.2.6 does not ship. The stdio server has no templates, since no page connects to it.
114
+
The templates and their `list_changed` notifications are part of devframe since 1.3.0. The stdio server has no templates, since no page connects to it.
Copy file name to clipboardExpand all lines: apps/docs/src/content/contributing/development.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,16 +43,15 @@ pnpm install
43
43
44
44
### Patched dependencies
45
45
46
-
`patches/` holds `pnpm patch` changes to the built files of `devframe`, `@devframes/agentic` and `@devframes/hub` 1.2.6, listed under `patchedDependencies` in `pnpm-workspace.yaml`. They add what devframe doesn't ship:
46
+
`patches/` holds `pnpm patch` changes to the built files of `devframe`, `@devframes/agentic` and `@devframes/hub` 1.3.0, listed under `patchedDependencies` in `pnpm-workspace.yaml`. They add what devframe doesn't ship:
|`prompts`| An MCP route option with prompt templates. `@devframes/agentic` declares the `prompts` capability and answers `prompts/list` and `prompts/get` (invalid params for an unknown prompt or a missing required argument). Patched in `devframe`, `@devframes/hub` and `@devframes/agentic`. |`pangularMcpPrompts()` in `packages/devtools/src/agent-prompts.ts`, through `pangularMcp()`|
51
-
|`resourceTemplates`| MCP route options for resource templates and a host hook for resource list changes. `@devframes/agentic` answers `resources/templates/list`, reads a URI through the first template that matches it (`{name}` variables only, one URI segment each), adds each template's `list()` entries to `resources/list`, and sends `notifications/resources/list_changed` when `onResourcesChanged` calls back. Patched in `devframe`, `@devframes/hub` and `@devframes/agentic`. |`pangularMcpResourceTemplates()` and `pangularMcpPagesChanged()` in `packages/devtools/src/agent-page-resources.ts`, through `pangularMcp()`|
|`prompts`| An MCP route option with prompt templates. `@devframes/agentic` declares the `prompts` capability and answers `prompts/list` and `prompts/get` (invalid params for an unknown prompt or a missing required argument). Patched in `devframe`, `@devframes/hub` and `@devframes/agentic`. |`pangularMcpPrompts()` in `packages/devtools/src/agent-prompts.ts`, through `pangularMcp()`|
52
51
53
-
Some route options need no patch. The `exposeSharedState` filter, which hides the shared-state keys of an inspector with `agent.tools.<name>: false`, is part of devframe since 1.2.4. The server `instructions` and `withMcpContent`, which `screenshot-component` uses to send its image as its own MCP block, are part of devframe since 1.2.6.
52
+
Some route options need no patch. The `exposeSharedState` filter, which hides the shared-state keys of an inspector with `agent.tools.<name>: false`, is part of devframe since 1.2.4. The server `instructions` and `withMcpContent`, which `screenshot-component` uses to send its image as its own MCP block, are part of devframe since 1.2.6. The `resourceTemplates` and `onResourcesChanged` route options, which `pangularMcpResourceTemplates()` and `pangularMcpPagesChanged()` in `packages/devtools/src/agent-page-resources.ts` use, are part of devframe since 1.3.0.
54
53
55
-
The patches apply only inside this repository. An app that installs the published package gets no prompts and no page resource templates until devframe ships them. Each patch names an exact version and file names with build hashes, so a devframe upgrade needs the patches redone with `pnpm patch`, or removed once devframe has the feature.
54
+
The patches apply only inside this repository. An app that installs the published package gets no prompts until devframe ships them. `pnpm e2e:install` checks that the installed package lists resource templates over MCP. Each patch names an exact version and file names with build hashes, so a devframe upgrade needs the patches redone with `pnpm patch`, or removed once devframe has the feature.
0 commit comments