@kosuke-ai/cli 5.10.1 → 5.11.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.
@@ -64,6 +64,17 @@ export const operation = {
64
64
  "required": false,
65
65
  "description": "Only sessions whose title contains this text, case-insensitive and trimmed. Narrows the count and every page, and Needs You with it."
66
66
  },
67
+ {
68
+ "name": "createdBy",
69
+ "flag": "created-by",
70
+ "kind": "string",
71
+ "required": false,
72
+ "description": "'agent' keeps the sessions a chat agent filed; 'member' keeps every other one.",
73
+ "choices": [
74
+ "agent",
75
+ "member"
76
+ ]
77
+ },
67
78
  {
68
79
  "name": "includeArchived",
69
80
  "flag": "include-archived",
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "sessions",
6
6
  "create"
7
7
  ],
8
- "summary": "Start a chat session, or file a backlog one with status=backlog. Title or content is required; a backlog session needs content. Attachments ride along as multipart. From a sandbox or a Cron Run, only status=backlog. From a Cron Run, Kosuke files it and is its Assignee, and a model the workspace cannot run falls back to the Cron's: model says which one it will run on.",
8
+ "summary": "Start a chat session, or file a backlog one with status=backlog. Title or content is required; a backlog session needs content. Attachments ride along as multipart. From a sandbox or a Cron Run, only status=backlog, and reason is required: one line on why the ticket exists. From a Cron Run, Kosuke files it and is its Assignee, and a model the workspace cannot run falls back to the Cron's: model says which one it will run on.",
9
9
  "pathParams": [
10
10
  "projectId"
11
11
  ],
@@ -63,6 +63,13 @@ export const operation = {
63
63
  "flag": "start-branch",
64
64
  "kind": "string",
65
65
  "required": false
66
+ },
67
+ {
68
+ "name": "reason",
69
+ "flag": "reason",
70
+ "kind": "string",
71
+ "required": false,
72
+ "description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else."
66
73
  }
67
74
  ],
68
75
  "required": true
@@ -119,6 +126,13 @@ export const operation = {
119
126
  "flag": "start-branch",
120
127
  "kind": "string",
121
128
  "required": false
129
+ },
130
+ {
131
+ "name": "reason",
132
+ "flag": "reason",
133
+ "kind": "string",
134
+ "required": false,
135
+ "description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else."
122
136
  }
123
137
  ],
124
138
  "attachments": true,
package/openapi.json CHANGED
@@ -322,6 +322,17 @@
322
322
  "type": "string"
323
323
  }
324
324
  },
325
+ {
326
+ "name": "createdBy",
327
+ "in": "query",
328
+ "required": false,
329
+ "description": "'agent' keeps the sessions a chat agent filed; 'member' keeps every other one.",
330
+ "schema": {
331
+ "description": "'agent' keeps the sessions a chat agent filed; 'member' keeps every other one.",
332
+ "type": "string",
333
+ "enum": ["agent", "member"]
334
+ }
335
+ },
325
336
  {
326
337
  "name": "includeArchived",
327
338
  "in": "query",
@@ -4980,7 +4991,7 @@
4980
4991
  },
4981
4992
  "post": {
4982
4993
  "operationId": "sessionsCreate",
4983
- "summary": "Start a chat session, or file a backlog one with status=backlog. Title or content is required; a backlog session needs content. Attachments ride along as multipart. From a sandbox or a Cron Run, only status=backlog. From a Cron Run, Kosuke files it and is its Assignee, and a model the workspace cannot run falls back to the Cron's: model says which one it will run on.",
4994
+ "summary": "Start a chat session, or file a backlog one with status=backlog. Title or content is required; a backlog session needs content. Attachments ride along as multipart. From a sandbox or a Cron Run, only status=backlog, and reason is required: one line on why the ticket exists. From a Cron Run, Kosuke files it and is its Assignee, and a model the workspace cannot run falls back to the Cron's: model says which one it will run on.",
4984
4995
  "tags": ["sessions"],
4985
4996
  "x-kosuke-command": ["sessions", "create"],
4986
4997
  "x-kosuke-attachments": true,
@@ -5036,6 +5047,12 @@
5036
5047
  "type": "string",
5037
5048
  "minLength": 1,
5038
5049
  "maxLength": 255
5050
+ },
5051
+ "reason": {
5052
+ "description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else.",
5053
+ "type": "string",
5054
+ "minLength": 1,
5055
+ "maxLength": 200
5039
5056
  }
5040
5057
  }
5041
5058
  }
@@ -5073,6 +5090,12 @@
5073
5090
  "type": "string",
5074
5091
  "minLength": 1,
5075
5092
  "maxLength": 255
5093
+ },
5094
+ "reason": {
5095
+ "description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else.",
5096
+ "type": "string",
5097
+ "minLength": 1,
5098
+ "maxLength": 200
5076
5099
  }
5077
5100
  }
5078
5101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/cli",
3
- "version": "5.10.1",
3
+ "version": "5.11.0",
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": {