@paperclipai/shared 2026.915.0-nightly.2 → 2026.916.0-beta.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.
@@ -1 +1 @@
1
- {"sources":"dbd8c2c34a1ce40029af7c30a6df8a93e8ca4c0c30f569459a023cae6e11221d","outputs":"b91adb22c692a771c8c08b60e4e937e9339d33844c93b776f319952e1e8f9ffe"}
1
+ {"sources":"f7d62b474a91e22175793fcca115867c62cf83da075e9db1ff086cf03bcd292c","outputs":"c7aa269b5085de9c645d719340c3a42ca51992b7f6f7866dfb803884bb1f6ef6"}
@@ -1 +1 @@
1
- {"version":3,"file":"connection-intent-guidance.d.ts","sourceRoot":"","sources":["../src/connection-intent-guidance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC,QAWjC,CAAC;AAEb,eAAO,MAAM,mCAAmC,QAGrC,CAAC;AAEZ,eAAO,MAAM,mCAAmC,QAGrC,CAAC;AAEZ,eAAO,MAAM,6BAA6B,YACxC,oBAAoB,EACpB,oBAAoB,CACZ,CAAC"}
1
+ {"version":3,"file":"connection-intent-guidance.d.ts","sourceRoot":"","sources":["../src/connection-intent-guidance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC,QAYjC,CAAC;AAEb,eAAO,MAAM,mCAAmC,QAIrC,CAAC;AAEZ,eAAO,MAAM,mCAAmC,QAIrC,CAAC;AAEZ,eAAO,MAAM,6BAA6B,YACxC,oBAAoB,EACpB,oBAAoB,CACZ,CAAC"}
@@ -11,6 +11,7 @@ export const CONNECTION_INTENT_AGENT_GUIDANCE = [
11
11
  "- This applies both when the user explicitly asks to connect a service and when the requested work implicitly depends on that service.",
12
12
  "- If search returns `ready`, use the installed connection; do not create a connection intent.",
13
13
  "- If search returns `available` or `needs_user_action`, call `connection_request` with the returned service identifier.",
14
+ "- When the user has already asked to connect a known service, use the real connection request. Do not ask whether to connect again or imitate the Connect / Not now card with `ask_user_questions`, a generic confirmation, or a comment. Only `connection_request` creates the actual connection setup card.",
14
15
  "- If search returns `unavailable`, explain that the service is unavailable and do not call `connection_request`.",
15
16
  "- If `connection_request` returns `needs_user_action`, finish any independent work, then yield in a waiting posture. Do not retry the request, ask for credentials in comments, or claim access.",
16
17
  "- Do not use connection tools for arbitrary MCP URLs, unsupported services, or work that does not require an external service.",
@@ -20,9 +21,11 @@ export const CONNECTION_INTENT_AGENT_GUIDANCE = [
20
21
  export const CONNECTIONS_SEARCH_TOOL_DESCRIPTION = [
21
22
  "Search Paperclip's catalog services and authorized configured custom connections and report this run's agent-relative access state.",
22
23
  "Use it when work requires a known external service and usable access is uncertain; do not use it for arbitrary MCP URLs or unrelated work.",
24
+ "If the user already asked to connect the service, search and request it through the connection tools instead of asking a generic confirmation question.",
23
25
  ].join(" ");
24
26
  export const CONNECTION_REQUEST_TOOL_DESCRIPTION = [
25
27
  "Request access to a known connectable service for this run's agent from the responsible user.",
28
+ "This creates the real Connect / Not now setup card. When the user already asked to connect, use this tool; do not recreate those choices with ask_user_questions, request_confirmation, or a comment. A generic question does not start connection setup.",
26
29
  "Call it only with the service identifier returned as available or needs_user_action by connections_search; if user action is needed, finish independent work, then yield without retrying or asking for credentials in comments.",
27
30
  ].join(" ");
28
31
  export const CONNECTION_RUNTIME_TOOL_NAMES = [
@@ -1 +1 @@
1
- {"version":3,"file":"connection-intent-guidance.js","sourceRoot":"","sources":["../src/connection-intent-guidance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,mBAAmB;IACnB,8IAA8I;IAC9I,wIAAwI;IACxI,+FAA+F;IAC/F,yHAAyH;IACzH,kHAAkH;IAClH,kMAAkM;IAClM,gIAAgI;IAChI,oIAAoI;IACpI,oHAAoH;CACrH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,qIAAqI;IACrI,4IAA4I;CAC7I,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,+FAA+F;IAC/F,kOAAkO;CACnO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,oBAAoB;IACpB,oBAAoB;CACZ,CAAC"}
1
+ {"version":3,"file":"connection-intent-guidance.js","sourceRoot":"","sources":["../src/connection-intent-guidance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,mBAAmB;IACnB,8IAA8I;IAC9I,wIAAwI;IACxI,+FAA+F;IAC/F,yHAAyH;IACzH,+SAA+S;IAC/S,kHAAkH;IAClH,kMAAkM;IAClM,gIAAgI;IAChI,oIAAoI;IACpI,oHAAoH;CACrH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,qIAAqI;IACrI,4IAA4I;IAC5I,yJAAyJ;CAC1J,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,+FAA+F;IAC/F,2PAA2P;IAC3P,kOAAkO;CACnO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,oBAAoB;IACpB,oBAAoB;CACZ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperclipai/shared",
3
- "version": "2026.915.0-nightly.2",
3
+ "version": "2026.916.0-beta.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/paperclipai/paperclip",
6
6
  "bugs": {