@kosuke-ai/cli 5.6.3 → 5.6.5

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.
@@ -22,5 +22,5 @@ export const operation = {
22
22
  "sandboxToken": false,
23
23
  "orchestratorToken": false,
24
24
  "cronToken": false,
25
- "leadToken": false
25
+ "leadToken": true
26
26
  };
@@ -21,5 +21,5 @@ export const operation = {
21
21
  "sandboxToken": false,
22
22
  "orchestratorToken": false,
23
23
  "cronToken": false,
24
- "leadToken": false
24
+ "leadToken": true
25
25
  };
@@ -129,29 +129,30 @@ import { operation as o127 } from './workspaces/ai-provider-set.js';
129
129
  import { operation as o128 } from './workspaces/ai-provider-usage-claude.js';
130
130
  import { operation as o129 } from './workspaces/ai-provider-usage-codex.js';
131
131
  import { operation as o130 } from './workspaces/ai-provider-usage-coding-plan.js';
132
- import { operation as o131 } from './workspaces/credits.js';
133
- import { operation as o132 } from './workspaces/get.js';
134
- import { operation as o133 } from './workspaces/getting-started-get.js';
135
- import { operation as o134 } from './workspaces/getting-started-update.js';
136
- import { operation as o135 } from './workspaces/integrations-sentry-get.js';
137
- import { operation as o136 } from './workspaces/integrations-sentry-remove.js';
138
- import { operation as o137 } from './workspaces/integrations-slack-get.js';
139
- import { operation as o138 } from './workspaces/list.js';
140
- import { operation as o139 } from './workspaces/members.js';
141
- import { operation as o140 } from './workspaces/plugins-list.js';
142
- import { operation as o141 } from './workspaces/plugins-update.js';
143
- import { operation as o142 } from './workspaces/provider-login-claude-complete.js';
144
- import { operation as o143 } from './workspaces/provider-login-claude-start.js';
145
- import { operation as o144 } from './workspaces/provider-login-codex-complete.js';
146
- import { operation as o145 } from './workspaces/provider-login-codex-start.js';
147
- import { operation as o146 } from './workspaces/sandbox-limit.js';
148
- import { operation as o147 } from './workspaces/skills-create.js';
149
- import { operation as o148 } from './workspaces/skills-delete.js';
150
- import { operation as o149 } from './workspaces/skills-get.js';
151
- import { operation as o150 } from './workspaces/skills-list.js';
152
- import { operation as o151 } from './workspaces/skills-update.js';
153
- import { operation as o152 } from './workspaces/stop-sandboxes.js';
154
- import { operation as o153 } from './workspaces/usage.js';
132
+ import { operation as o131 } from './workspaces/artifacts.js';
133
+ import { operation as o132 } from './workspaces/credits.js';
134
+ import { operation as o133 } from './workspaces/get.js';
135
+ import { operation as o134 } from './workspaces/getting-started-get.js';
136
+ import { operation as o135 } from './workspaces/getting-started-update.js';
137
+ import { operation as o136 } from './workspaces/integrations-sentry-get.js';
138
+ import { operation as o137 } from './workspaces/integrations-sentry-remove.js';
139
+ import { operation as o138 } from './workspaces/integrations-slack-get.js';
140
+ import { operation as o139 } from './workspaces/list.js';
141
+ import { operation as o140 } from './workspaces/members.js';
142
+ import { operation as o141 } from './workspaces/plugins-list.js';
143
+ import { operation as o142 } from './workspaces/plugins-update.js';
144
+ import { operation as o143 } from './workspaces/provider-login-claude-complete.js';
145
+ import { operation as o144 } from './workspaces/provider-login-claude-start.js';
146
+ import { operation as o145 } from './workspaces/provider-login-codex-complete.js';
147
+ import { operation as o146 } from './workspaces/provider-login-codex-start.js';
148
+ import { operation as o147 } from './workspaces/sandbox-limit.js';
149
+ import { operation as o148 } from './workspaces/skills-create.js';
150
+ import { operation as o149 } from './workspaces/skills-delete.js';
151
+ import { operation as o150 } from './workspaces/skills-get.js';
152
+ import { operation as o151 } from './workspaces/skills-list.js';
153
+ import { operation as o152 } from './workspaces/skills-update.js';
154
+ import { operation as o153 } from './workspaces/stop-sandboxes.js';
155
+ import { operation as o154 } from './workspaces/usage.js';
155
156
  export const operations = [
156
157
  o0,
157
158
  o1,
@@ -307,4 +308,5 @@ export const operations = [
307
308
  o151,
308
309
  o152,
309
310
  o153,
311
+ o154,
310
312
  ];
@@ -0,0 +1,29 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/organizations/{workspaceId}/artifacts/search",
4
+ "command": [
5
+ "workspaces",
6
+ "artifacts"
7
+ ],
8
+ "summary": "Search the Artifacts of a workspace by title, across its Chat Sessions and its Cron Runs. Rows only, each naming the session or run it was written in; read one with `sessions artifacts get` or `crons runs artifacts get`.",
9
+ "pathParams": [
10
+ "workspaceId"
11
+ ],
12
+ "query": [
13
+ {
14
+ "name": "q",
15
+ "flag": "q",
16
+ "kind": "string",
17
+ "required": false,
18
+ "description": "Search text, trimmed. Empty or absent returns the most recent artifacts."
19
+ }
20
+ ],
21
+ "body": null,
22
+ "multipart": null,
23
+ "attachments": false,
24
+ "anonymous": false,
25
+ "sandboxToken": false,
26
+ "orchestratorToken": false,
27
+ "cronToken": false,
28
+ "leadToken": true
29
+ };
package/openapi.json CHANGED
@@ -1097,6 +1097,68 @@
1097
1097
  }
1098
1098
  }
1099
1099
  },
1100
+ "/api/organizations/{workspaceId}/artifacts/search": {
1101
+ "get": {
1102
+ "operationId": "workspacesArtifacts",
1103
+ "summary": "Search the Artifacts of a workspace by title, across its Chat Sessions and its Cron Runs. Rows only, each naming the session or run it was written in; read one with `sessions artifacts get` or `crons runs artifacts get`.",
1104
+ "tags": ["workspaces"],
1105
+ "x-kosuke-command": ["workspaces", "artifacts"],
1106
+ "x-kosuke-lead-token": true,
1107
+ "parameters": [
1108
+ {
1109
+ "name": "workspaceId",
1110
+ "in": "path",
1111
+ "required": true,
1112
+ "schema": {
1113
+ "type": "string",
1114
+ "minLength": 1
1115
+ }
1116
+ },
1117
+ {
1118
+ "name": "q",
1119
+ "in": "query",
1120
+ "required": false,
1121
+ "description": "Search text, trimmed. Empty or absent returns the most recent artifacts.",
1122
+ "schema": {
1123
+ "description": "Search text, trimmed. Empty or absent returns the most recent artifacts.",
1124
+ "type": "string"
1125
+ }
1126
+ }
1127
+ ],
1128
+ "responses": {
1129
+ "2XX": {
1130
+ "description": "Success envelope",
1131
+ "content": {
1132
+ "application/json": {
1133
+ "schema": {
1134
+ "$ref": "#/components/schemas/ApiSuccess"
1135
+ }
1136
+ }
1137
+ }
1138
+ },
1139
+ "4XX": {
1140
+ "description": "Error envelope",
1141
+ "content": {
1142
+ "application/json": {
1143
+ "schema": {
1144
+ "$ref": "#/components/schemas/ApiError"
1145
+ }
1146
+ }
1147
+ }
1148
+ },
1149
+ "5XX": {
1150
+ "description": "Error envelope",
1151
+ "content": {
1152
+ "application/json": {
1153
+ "schema": {
1154
+ "$ref": "#/components/schemas/ApiError"
1155
+ }
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ }
1161
+ },
1100
1162
  "/api/organizations/{workspaceId}/credits": {
1101
1163
  "get": {
1102
1164
  "operationId": "workspacesCredits",
@@ -1951,6 +2013,7 @@
1951
2013
  "summary": "List the Artifacts a run of a cron published, most recently changed first. Rows only: a body or a file url comes from reading one.",
1952
2014
  "tags": ["crons"],
1953
2015
  "x-kosuke-command": ["crons", "runs", "artifacts", "list"],
2016
+ "x-kosuke-lead-token": true,
1954
2017
  "parameters": [
1955
2018
  {
1956
2019
  "name": "workspaceId",
@@ -2022,6 +2085,7 @@
2022
2085
  "summary": "Read one Artifact of a run of a cron: a markdown or html one carries its body, an image or a video a presigned url, its media type and its size.",
2023
2086
  "tags": ["crons"],
2024
2087
  "x-kosuke-command": ["crons", "runs", "artifacts", "get"],
2088
+ "x-kosuke-lead-token": true,
2025
2089
  "parameters": [
2026
2090
  {
2027
2091
  "name": "workspaceId",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/cli",
3
- "version": "5.6.3",
3
+ "version": "5.6.5",
4
4
  "description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
5
5
  "license": "MIT",
6
6
  "repository": {