@tickernelz/paperclip-pro-server 2026.926.2 → 2026.926.3

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 (106) hide show
  1. package/dist/build-info.json +1 -1
  2. package/dist/routes/agents.d.ts.map +1 -1
  3. package/dist/routes/agents.js +18 -4
  4. package/dist/routes/agents.js.map +1 -1
  5. package/dist/routes/issues.d.ts.map +1 -1
  6. package/dist/routes/issues.js +7 -0
  7. package/dist/routes/issues.js.map +1 -1
  8. package/dist/routes/openapi.d.ts.map +1 -1
  9. package/dist/routes/openapi.js +21 -8
  10. package/dist/routes/openapi.js.map +1 -1
  11. package/dist/routes/paperclip-mcp.d.ts.map +1 -1
  12. package/dist/routes/paperclip-mcp.js +23 -2
  13. package/dist/routes/paperclip-mcp.js.map +1 -1
  14. package/dist/services/issues.d.ts +5 -0
  15. package/dist/services/issues.d.ts.map +1 -1
  16. package/dist/services/issues.js +15 -1
  17. package/dist/services/issues.js.map +1 -1
  18. package/node_modules/micromark/dev/lib/compile.d.ts.map +1 -1
  19. package/node_modules/micromark/dev/lib/compile.js +14 -4
  20. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +1 -1
  21. package/node_modules/micromark/dev/lib/create-tokenizer.js +7 -6
  22. package/node_modules/micromark/dev/lib/initialize/document.js +25 -21
  23. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +1 -1
  24. package/node_modules/micromark/dev/lib/initialize/text.js +10 -6
  25. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +1 -1
  26. package/node_modules/micromark/dev/lib/preprocess.js +19 -21
  27. package/node_modules/micromark/lib/compile.d.ts.map +1 -1
  28. package/node_modules/micromark/lib/compile.js +37 -29
  29. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +1 -1
  30. package/node_modules/micromark/lib/create-tokenizer.js +37 -35
  31. package/node_modules/micromark/lib/initialize/document.js +21 -13
  32. package/node_modules/micromark/lib/initialize/text.d.ts.map +1 -1
  33. package/node_modules/micromark/lib/initialize/text.js +7 -3
  34. package/node_modules/micromark/lib/preprocess.d.ts.map +1 -1
  35. package/node_modules/micromark/lib/preprocess.js +16 -19
  36. package/node_modules/micromark/package.json +2 -15
  37. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +18 -24
  38. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +1 -1
  39. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +1 -43
  40. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +19 -43
  41. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +2 -6
  42. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +1 -1
  43. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +2 -53
  44. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +14 -12
  45. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +1 -1
  46. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +14 -5
  47. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +1 -1
  48. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +14 -5
  49. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +4 -0
  50. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +1 -0
  51. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +67 -0
  52. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +1 -1
  53. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +8 -5
  54. package/node_modules/micromark-core-commonmark/lib/attention.js +14 -24
  55. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +1 -1
  56. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +1 -39
  57. package/node_modules/micromark-core-commonmark/lib/code-indented.js +11 -29
  58. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -6
  59. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +1 -1
  60. package/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -51
  61. package/node_modules/micromark-core-commonmark/lib/label-end.js +11 -10
  62. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +1 -1
  63. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +11 -3
  64. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +1 -1
  65. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +11 -3
  66. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +4 -0
  67. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +1 -0
  68. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +61 -0
  69. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +1 -1
  70. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +7 -5
  71. package/node_modules/micromark-core-commonmark/package.json +4 -16
  72. package/node_modules/micromark-factory-space/dev/index.d.ts +24 -1
  73. package/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -1
  74. package/node_modules/micromark-factory-space/dev/index.js +58 -3
  75. package/node_modules/micromark-factory-space/index.d.ts +24 -1
  76. package/node_modules/micromark-factory-space/index.d.ts.map +1 -1
  77. package/node_modules/micromark-factory-space/index.js +55 -3
  78. package/node_modules/micromark-factory-space/package.json +1 -10
  79. package/node_modules/micromark-factory-space/readme.md +25 -25
  80. package/node_modules/micromark-util-edit-map/dev/index.d.ts +78 -0
  81. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +1 -0
  82. package/node_modules/micromark-util-edit-map/dev/index.js +237 -0
  83. package/node_modules/micromark-util-edit-map/index.d.ts +78 -0
  84. package/node_modules/micromark-util-edit-map/index.d.ts.map +1 -0
  85. package/node_modules/micromark-util-edit-map/index.js +225 -0
  86. package/node_modules/micromark-util-edit-map/license +22 -0
  87. package/node_modules/micromark-util-edit-map/package.json +48 -0
  88. package/node_modules/micromark-util-edit-map/readme.md +234 -0
  89. package/node_modules/micromark-util-types/index.d.ts +6 -3
  90. package/node_modules/micromark-util-types/package.json +2 -36
  91. package/node_modules/ws/lib/websocket.js +17 -3
  92. package/node_modules/ws/package.json +1 -1
  93. package/package.json +20 -20
  94. package/skills/paperclip/references/api-reference.md +2 -2
  95. package/ui-dist/assets/{Agents.production-5Tba_pW_.js → Agents.production-BGeWxNtU.js} +2 -2
  96. package/ui-dist/assets/{CompanyActivity.production-CONFWTe1.js → CompanyActivity.production-9gzPo_M_.js} +1 -1
  97. package/ui-dist/assets/{CompanyExport-CiOVCS4y.js → CompanyExport-CwCAJj2l.js} +1 -1
  98. package/ui-dist/assets/{CompanySkills.production-gv4ej6PI.js → CompanySkills.production-CiTG4koz.js} +1 -1
  99. package/ui-dist/assets/{Costs.production-C6rOIGNV.js → Costs.production-CFn4Pjkh.js} +1 -1
  100. package/ui-dist/assets/{OrgChart.production-DYeuFtY_.js → OrgChart.production-U1cB4YS_.js} +1 -1
  101. package/ui-dist/assets/{RoutineDetail.production-Bt4IHfSD.js → RoutineDetail.production-oI3mHlKM.js} +1 -1
  102. package/ui-dist/assets/{Routines.production-BBxSwg2A.js → Routines.production-sl1FiAYd.js} +1 -1
  103. package/ui-dist/assets/{definition-B49KTmLW.js → definition-DrGsWdJY.js} +1 -1
  104. package/ui-dist/assets/{index-BRCs87uX.js → index-cwemnRTq.js} +144 -144
  105. package/ui-dist/index.html +1 -1
  106. package/ui-dist/sw.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/routes/openapi.ts"],"names":[],"mappings":"AAuuWA,wBAAgB,oBAAoB,IAAI,GAAG,CAY1C;AAED,eAAO,MAAM,gBAAgB,6BAAuB,CAAC;AAErD,wBAAgB,aAAa,+CAM5B"}
1
+ {"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/routes/openapi.ts"],"names":[],"mappings":"AAuvWA,wBAAgB,oBAAoB,IAAI,GAAG,CAY1C;AAED,eAAO,MAAM,gBAAgB,6BAAuB,CAAC;AAErD,wBAAgB,aAAa,+CAM5B"}
@@ -4,13 +4,13 @@ import { Router } from "express";
4
4
  import { z } from "zod";
5
5
  import { createAiConnectionSchema, localAiConnectionSchema, localAiLoginStartSchema, emailEndpointSetupSchema, emailConnectionSchema, emailSendSchema, slackToolCallSchema, slackSearchConfigSchema,
6
6
  // Agent
7
- AGENT_PALETTE_IDS, AGENT_AVATAR_SIZES, CHARACTER_STATES, agentAppearanceSchema, createAgentSchema, createAgentHireSchema, updateAgentSchema, updateAgentPermissionsSchema, agentAdapterConfigBatchPreviewSchema, agentAdapterConfigBatchUpdateSchema, updateAgentInstructionsPathSchema, updateAgentInstructionsBundleSchema, upsertAgentInstructionsFileSchema, createAgentKeySchema, builtInAgentEmptyMutationSchema, builtInAgentProvisionSchema, generateSummarySlotSchema, writeSummarySlotSchema, createStatusCardSchema, patchStatusCardSchema, refreshStatusCardSchema, writeStatusCardQuerySchema, writeStatusCardSummarySchema, wakeAgentSchema, resetAgentSessionSchema, agentSkillSyncSchema, testAdapterEnvironmentSchema,
7
+ AGENT_PALETTE_IDS, AGENT_AVATAR_SIZES, CHARACTER_STATES, agentAppearanceSchema, createAgentSchema, createAgentHireSchema, updateAgentSchema, updateAgentPermissionsSchema, agentAdapterConfigBatchPreviewSchema, agentAdapterConfigBatchUpdateSchema, updateAgentInstructionsPathSchema, updateAgentInstructionsBundleSchema, upsertAgentInstructionsFileSchema, createAgentKeySchema, builtInAgentEmptyMutationSchema, builtInAgentProvisionSchema, generateSummarySlotSchema, writeSummarySlotSchema, createStatusCardSchema, patchStatusCardSchema, refreshStatusCardSchema, writeStatusCardQuerySchema, writeStatusCardSummarySchema, wakeAgentSchema, resetAgentSessionSchema, agentSkillSyncSchema, testAdapterEnvironmentSchema, agentMineInboxQuerySchema,
8
8
  // Issue
9
9
  createIssueSchema, updateIssueSchema, stalledReviewDecisionSchema, createIssueLabelSchema, addIssueCommentSchema, checkoutIssueSchema, linkIssueApprovalSchema, createIssueWorkProductSchema, updateIssueWorkProductSchema, upsertIssueDocumentSchema, restoreIssueDocumentRevisionSchema, upsertIssueFeedbackVoteSchema, upsertIssueWatchdogSchema, runnerGoalActionRequestSchema, issueRunModelOverrideUpdateSchema,
10
10
  // Project
11
11
  createProjectSchema, updateProjectSchema, createProjectWorkspaceSchema, updateProjectWorkspaceSchema,
12
12
  // Company
13
- createCompanySchema, updateCompanySchema, updateCompanyBrandingSchema, companyArtifactsQuerySchema, companyArtifactsResponseSchema,
13
+ createCompanySchema, updateCompanySchema, updateCompanyBrandingSchema, companyArtifactsQuerySchema, companyArtifactsResponseSchema, companySearchExtractQuerySchema,
14
14
  // Decisions
15
15
  addDecisionQueueItemSchema, createDecisionQueueSchema, createDecisionArchiveProposalSchema, decisionAttentionSourceKindSchema, decisionInputsSchema, decisionOptionsSchema, removeDecisionQueueItemSchema, updateDecisionQueueSchema, updateDecisionTriageSchema, updateDecisionRetentionSchema,
16
16
  // Routine
@@ -2613,8 +2613,12 @@ registry.registerPath({
2613
2613
  path: "/api/companies/{companyId}/agents",
2614
2614
  tags: ["agents"],
2615
2615
  summary: "List agents in a company",
2616
- request: { params: z.object({ companyId: z.string() }) },
2617
- responses: { 200: r.ok(), 401: r.unauthorized },
2616
+ description: "Pass `view=compact` to drop the per-row `orgChainHealth`, `appearance` and `avatarUrl` fields; `GET /api/agents/{id}` keeps the full shape.",
2617
+ request: {
2618
+ params: z.object({ companyId: z.string() }),
2619
+ query: z.object({ view: z.enum(["compact"]).optional() }),
2620
+ },
2621
+ responses: { 200: r.ok(), 400: r.badRequest, 401: r.unauthorized },
2618
2622
  });
2619
2623
  registry.registerPath({
2620
2624
  method: "post",
@@ -2819,7 +2823,8 @@ registry.registerPath({
2819
2823
  path: "/api/agents/me/inbox/mine",
2820
2824
  tags: ["agents"],
2821
2825
  summary: "Get current agent assigned inbox items",
2822
- responses: { 200: r.ok(), 401: r.unauthorized },
2826
+ request: { query: agentMineInboxQuerySchema },
2827
+ responses: { 200: r.ok(), 400: r.badRequest, 401: r.unauthorized },
2823
2828
  });
2824
2829
  registry.registerPath({
2825
2830
  method: "get",
@@ -3249,10 +3254,15 @@ registry.registerPath({
3249
3254
  path: "/api/companies/{companyId}/issues",
3250
3255
  tags: ["issues"],
3251
3256
  summary: "List issues in a company",
3252
- description: "Use `view=compact` for the board issue-list row contract. The default response remains the broad compatibility contract.",
3257
+ description: "Use `view=compact` for the board issue-list row contract. The default response remains the broad compatibility contract. Pass `includeConversations=true` to also return the caller's own persistent conversation threads, which are hidden from every other board query; rows belonging to another agent or user are never included.",
3253
3258
  request: {
3254
3259
  params: z.object({ companyId: z.string() }),
3255
- query: z.object({ view: z.enum(["compact"]).optional() }).passthrough(),
3260
+ query: z
3261
+ .object({
3262
+ view: z.enum(["compact"]).optional(),
3263
+ includeConversations: z.enum(["true", "1"]).optional(),
3264
+ })
3265
+ .passthrough(),
3256
3266
  },
3257
3267
  responses: {
3258
3268
  200: r.ok(),
@@ -8415,16 +8425,18 @@ registry.registerPath({
8415
8425
  },
8416
8426
  });
8417
8427
  for (const route of [
8418
- ["get", "/api/companies/{companyId}/search", "Search company data"],
8428
+ ["get", "/api/companies/{companyId}/search", "Search company data", undefined],
8419
8429
  [
8420
8430
  "get",
8421
8431
  "/api/companies/{companyId}/search/extract",
8422
8432
  "Extract company search matches",
8433
+ companySearchExtractQuerySchema,
8423
8434
  ],
8424
8435
  [
8425
8436
  "get",
8426
8437
  "/api/companies/{companyId}/issues/count",
8427
8438
  "Count issues in a company",
8439
+ undefined,
8428
8440
  ],
8429
8441
  ]) {
8430
8442
  registerCurrentRoute({
@@ -8432,6 +8444,7 @@ for (const route of [
8432
8444
  path: route[1],
8433
8445
  tags: ["companies"],
8434
8446
  summary: route[2],
8447
+ ...(route[3] ? { query: route[3] } : {}),
8435
8448
  });
8436
8449
  }
8437
8450
  registerCurrentRoute({