@kosuke-ai/kosuke 1.0.65 → 1.0.66
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.
- package/CHANGELOG.md +4 -0
- package/dist/agent/http.js +0 -5
- package/dist/agent/summary.js +29 -52
- package/dist/commands/agent.js +1 -1
- package/dist/generated/commands/activity/list.js +1 -1
- package/dist/generated/commands/sessions/list--all.js +3 -20
- package/dist/generated/commands/tasks/list--all.js +0 -7
- package/dist/generated/commands/tasks/list--personal.js +0 -7
- package/dist/generated/commands/tasks/list.js +0 -7
- package/openapi.json +7 -48
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.66
|
|
4
|
+
|
|
5
|
+
- Remove `--needs-you` and `--viewer` from `sessions list`, and the `needsYouReason` field from its rows: what waits on you is a Sensei card, which `kosuke sensei cards list` lists. An older CLI that still sends them gets the plain list. `agent summary get` no longer prints a Needs You section.
|
|
6
|
+
|
|
3
7
|
## 1.0.65
|
|
4
8
|
|
|
5
9
|
- `kosuke sessions list` takes `--include-merge-agent-runs` to list Merge agent run sessions, which it leaves out by default, and `kosuke sensei messages send` and `reply` describe that a project's Deploy agent can send a message and that a session's, the Merge agent's or a Cron's message gets the member's answer back.
|
package/dist/agent/http.js
CHANGED
package/dist/agent/summary.js
CHANGED
|
@@ -2,11 +2,11 @@ import { providers } from '../generated/providers.js';
|
|
|
2
2
|
import { readOverview } from '../integrations/api.js';
|
|
3
3
|
import { createApiClient } from '../runtime/client.js';
|
|
4
4
|
import { isTurnToken } from '../runtime/credentials.js';
|
|
5
|
-
import { HttpError,
|
|
5
|
+
import { HttpError, paginationTotal } from './http.js';
|
|
6
6
|
/**
|
|
7
|
-
* `kosuke agent summary`:
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* `kosuke agent summary`: which providers and integrations are connected and what is
|
|
8
|
+
* New, in a few dozen lines an agent reads at the start of a conversation. What waits
|
|
9
|
+
* on the member is a Sensei card, which `kosuke sensei cards list` reads. Kept to about 1,500 tokens: each list is capped and names the
|
|
10
10
|
* command that reads the rest, and it claims only as many events as the other
|
|
11
11
|
* lines leave room for.
|
|
12
12
|
*/
|
|
@@ -21,7 +21,6 @@ const PROVIDERS_TIMEOUT_MS = 4000;
|
|
|
21
21
|
* platform must cost the digest this section, never the digest.
|
|
22
22
|
*/
|
|
23
23
|
const INTEGRATIONS_TIMEOUT_MS = 3000;
|
|
24
|
-
const NEEDS_YOU_SHOWN = 5;
|
|
25
24
|
/** Connections listed before "and N more"; a member's own seven fit. */
|
|
26
25
|
const INTEGRATIONS_SHOWN = 8;
|
|
27
26
|
/** However much room is left: past this, the digest stops being a glance. */
|
|
@@ -35,18 +34,18 @@ const BUDGET_CHARS = 4500;
|
|
|
35
34
|
const ACTIVITY_FRAME_CHARS = 150;
|
|
36
35
|
// Caps on the words, never on the URL: a clipped URL opens nothing, and a
|
|
37
36
|
// preview origin alone can take most of a line.
|
|
38
|
-
const TITLE_MAX = 90;
|
|
39
37
|
const TEXT_MAX = 140;
|
|
40
38
|
const NAME_MAX = 40;
|
|
41
39
|
/** `/projects/<uuid>/chat-sessions?session=<uuid>`, or a Backlog ticket's path, which is longer. */
|
|
42
40
|
const SESSION_PATH_CHARS = 120;
|
|
43
41
|
/** Room for an origin longer than any the digest has seen, such as a preview's. */
|
|
44
42
|
const ORIGIN_CHARS_MIN = 64;
|
|
43
|
+
/**
|
|
44
|
+
* Reads the covered workspaces before the claim, so their line's length decides how many
|
|
45
|
+
* events fit. A peek of one: it marks nothing seen.
|
|
46
|
+
*/
|
|
45
47
|
// `satisfies`, so a query key the schema renames fails here, not at run time.
|
|
46
|
-
const
|
|
47
|
-
...NEEDS_YOU_FILTER,
|
|
48
|
-
limit: NEEDS_YOU_SHOWN,
|
|
49
|
-
};
|
|
48
|
+
const COVERAGE_QUERY = { unseen: true, limit: 1 };
|
|
50
49
|
const str = (value) => typeof value === 'string' && value.trim() ? value.trim() : null;
|
|
51
50
|
function rows(body) {
|
|
52
51
|
const list = body?.data;
|
|
@@ -63,26 +62,19 @@ function clip(text, max) {
|
|
|
63
62
|
/**
|
|
64
63
|
* The longest an event line can be, so the digest claims only events it has
|
|
65
64
|
* room to print whole. Its session URL starts with the app's origin, which
|
|
66
|
-
* the digest knows only from the API's
|
|
65
|
+
* the digest knows only from the API's.
|
|
67
66
|
*/
|
|
68
|
-
function eventLineMax(apiUrl
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const url = Math.max(ORIGIN_CHARS_MIN, ...origins) + SESSION_PATH_CHARS;
|
|
67
|
+
function eventLineMax(apiUrl) {
|
|
68
|
+
let origin = 0;
|
|
69
|
+
try {
|
|
70
|
+
origin = new URL(apiUrl).origin.length;
|
|
71
|
+
}
|
|
72
|
+
catch {
|
|
73
|
+
// An unparsable API URL keeps the floor.
|
|
74
|
+
}
|
|
75
|
+
const url = Math.max(ORIGIN_CHARS_MIN, origin) + SESSION_PATH_CHARS;
|
|
78
76
|
return '- [/] '.length + 2 * NAME_MAX + TEXT_MAX + ', '.length + url;
|
|
79
77
|
}
|
|
80
|
-
/** `[workspace/project] title, reason, url`, one line per session. */
|
|
81
|
-
function sessionLine(row) {
|
|
82
|
-
const title = clip(str(row.title) ?? 'Untitled session', TITLE_MAX);
|
|
83
|
-
const reason = str(row.needsYouReason) ?? 'needs you';
|
|
84
|
-
return [`- ${where(row)} ${title}`, reason, str(row.url)].filter(Boolean).join(', ');
|
|
85
|
-
}
|
|
86
78
|
/** `[workspace/project] text: subject, url`, the same words Settings → Activity shows. */
|
|
87
79
|
function eventLine(event) {
|
|
88
80
|
const text = str(event.text) ?? str(event.kind) ?? 'Event';
|
|
@@ -290,8 +282,8 @@ function integrationLine(toolkit, connection) {
|
|
|
290
282
|
return `- ${clip(toolkit, NAME_MAX)}: ${connection.alias}, ${connection.scope}, "${label}", ${identity}`;
|
|
291
283
|
}
|
|
292
284
|
/** Never clipped: a workspace missing here would read as one the digest did not cover. */
|
|
293
|
-
function coverageLine(
|
|
294
|
-
const covered =
|
|
285
|
+
function coverageLine(read) {
|
|
286
|
+
const covered = read?.meta?.workspaces;
|
|
295
287
|
const names = Array.isArray(covered)
|
|
296
288
|
? covered.map((workspace) => str(workspace?.name)).filter((name) => name !== null)
|
|
297
289
|
: [];
|
|
@@ -299,32 +291,18 @@ function coverageLine(sessions) {
|
|
|
299
291
|
}
|
|
300
292
|
/** @internal */
|
|
301
293
|
export function planSummary(options) {
|
|
302
|
-
const {
|
|
294
|
+
const { covered, apiUrl, now, workspace, peek = false } = options;
|
|
303
295
|
const scope = workspace ? ` --workspace ${workspace}` : '';
|
|
304
296
|
const stamp = new Date(now).toISOString().slice(0, 16).replace('T', ' ') + ' UTC';
|
|
305
297
|
const head = [`Sensei summary, ${stamp}, ${apiUrl}`, ''];
|
|
306
|
-
const needing = rows(sessions);
|
|
307
|
-
const needTotal = paginationTotal(sessions) ?? needing.length;
|
|
308
|
-
if (needTotal === 0) {
|
|
309
|
-
head.push('No session needs you.');
|
|
310
|
-
}
|
|
311
|
-
else {
|
|
312
|
-
head.push(`${needTotal} session${needTotal === 1 ? ' needs' : 's need'} you:`);
|
|
313
|
-
const shown = needing.slice(0, NEEDS_YOU_SHOWN);
|
|
314
|
-
head.push(...shown.map(sessionLine));
|
|
315
|
-
if (needTotal > shown.length) {
|
|
316
|
-
head.push(`(and ${needTotal - shown.length} more: kosuke sessions list --needs-you --owners me${scope})`);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
head.push('');
|
|
320
298
|
if (options.providers?.length)
|
|
321
299
|
head.push('Providers:', ...options.providers, '');
|
|
322
300
|
if (options.integrations?.length) {
|
|
323
301
|
head.push('Integrations (`kosuke integrations list` shows their tools):', ...options.integrations, '');
|
|
324
302
|
}
|
|
325
|
-
const coverage = coverageLine(
|
|
303
|
+
const coverage = coverageLine(covered);
|
|
326
304
|
const room = BUDGET_CHARS - head.join('\n').length - coverage.length - ACTIVITY_FRAME_CHARS - scope.length;
|
|
327
|
-
const lineMax = eventLineMax(apiUrl
|
|
305
|
+
const lineMax = eventLineMax(apiUrl);
|
|
328
306
|
const claim = Math.max(0, Math.min(EVENTS_SHOWN, Math.floor(room / (lineMax + 1))));
|
|
329
307
|
return {
|
|
330
308
|
head,
|
|
@@ -368,7 +346,7 @@ export function renderSummary(plan, activity) {
|
|
|
368
346
|
}
|
|
369
347
|
/**
|
|
370
348
|
* The whole digest, or one line saying why not, so the agent reading it
|
|
371
|
-
* knows to query the CLI itself.
|
|
349
|
+
* knows to query the CLI itself. The coverage, the providers and the integrations are read first:
|
|
372
350
|
* their lines decide how many events fit, and the Activity read marks events
|
|
373
351
|
* seen, so a digest that failed after it would lose them.
|
|
374
352
|
*/
|
|
@@ -383,17 +361,16 @@ export async function fetchSummary(options) {
|
|
|
383
361
|
const signal = AbortSignal.timeout(options.timeoutMs ?? SUMMARY_TIMEOUT_MS);
|
|
384
362
|
try {
|
|
385
363
|
const workspace = options.workspace ? { workspace: options.workspace } : {};
|
|
386
|
-
const [
|
|
387
|
-
client.GET('/api/
|
|
388
|
-
params: { query: { ...
|
|
364
|
+
const [coverage, providers, integrations] = await Promise.all([
|
|
365
|
+
client.GET('/api/activity', {
|
|
366
|
+
params: { query: { ...COVERAGE_QUERY, ...workspace } },
|
|
389
367
|
signal,
|
|
390
368
|
}),
|
|
391
369
|
fetchProviders(client, options.workspace, AbortSignal.any([signal, AbortSignal.timeout(PROVIDERS_TIMEOUT_MS)])),
|
|
392
370
|
fetchIntegrations(client, options.workspace, options.apiKey, AbortSignal.any([signal, AbortSignal.timeout(INTEGRATIONS_TIMEOUT_MS)])),
|
|
393
371
|
]);
|
|
394
|
-
const sessions = body(needsYou);
|
|
395
372
|
const plan = planSummary({
|
|
396
|
-
|
|
373
|
+
covered: body(coverage),
|
|
397
374
|
providers,
|
|
398
375
|
integrations,
|
|
399
376
|
apiUrl: options.apiUrl,
|
package/dist/commands/agent.js
CHANGED
|
@@ -5,7 +5,7 @@ export function attachAgentCommands(root, runtime, deps = {}) {
|
|
|
5
5
|
const { fetch, now, stdout = (line) => process.stdout.write(line + '\n') } = deps;
|
|
6
6
|
root.command('agent').description('What an agent reads about your Sensei account.');
|
|
7
7
|
leafAt(root, HAND_WRITTEN.agentSummaryGet.command)
|
|
8
|
-
.description('Print
|
|
8
|
+
.description('Print your connected providers and integrations and your oldest New Activity as a short digest for an agent to read. ' +
|
|
9
9
|
'Marks seen only the events it prints, and none with --peek; the rest stay New.')
|
|
10
10
|
.option('--workspace <id>', 'Only this workspace.')
|
|
11
11
|
.option('--peek', 'Print the events without marking them seen.')
|
|
@@ -48,7 +48,7 @@ export const operation = {
|
|
|
48
48
|
"flag": "kind",
|
|
49
49
|
"kind": "string",
|
|
50
50
|
"required": false,
|
|
51
|
-
"description": "Comma-separated kinds (job_awaiting_response, pr_checks_failed, pr_checks_passed, main_checks_failed, main_checks_passed, pr_merged, branch_behind,
|
|
51
|
+
"description": "Comma-separated kinds (job_awaiting_response, pr_checks_failed, pr_checks_passed, main_checks_failed, main_checks_passed, pr_merged, branch_behind, cron_run_succeeded, cron_run_failed, deployed, recovery_deploy_started, workspace_device_disconnected, session_started, session_message_sent, session_archived, session_deleted, session_assigned, session_status_changed, session_priority_changed, cron_created, cron_updated, cron_deleted, member_invited, member_removed, member_role_changed, integration_custom_tool_saved, integration_custom_tool_enabled, integration_custom_tool_disabled, integration_custom_tool_deleted, integration_custom_tool_restored), or 'change' for every Change and 'action' for every Member Action."
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"name": "limit",
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "all"
|
|
10
10
|
},
|
|
11
|
-
"summary": "List chat sessions across every workspace you belong to, each with its workspace, project
|
|
11
|
+
"summary": "List chat sessions across every workspace you belong to, each with its workspace, project and URL. q narrows them to titles containing it, ids to the sessions it names. Merge agent run sessions are left out unless includeMergeAgentRuns=true or ids names them. An agent token reads its own workspace only. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts; goAheadSha, the head its open pull request has the go-ahead on; and mergeRule, its Assignee's Merge rule.",
|
|
12
12
|
"pathParams": [],
|
|
13
13
|
"query": [
|
|
14
14
|
{
|
|
@@ -76,23 +76,6 @@ export const operation = {
|
|
|
76
76
|
"required": false,
|
|
77
77
|
"description": "Comma-separated session ids, at most 100: only these sessions, under the other filters. Archived ones need includeArchived. Any value that is not an id is rejected."
|
|
78
78
|
},
|
|
79
|
-
{
|
|
80
|
-
"name": "needsYou",
|
|
81
|
-
"flag": "needs-you",
|
|
82
|
-
"kind": "boolean",
|
|
83
|
-
"required": false,
|
|
84
|
-
"description": "Only sessions blocked on a person: at most 100, most severe reason first (checks_failed, turn_failed, awaiting_response, ship_stop, ready_to_merge, review_not_requested, awaiting_approval, conflicts, behind, stale_pr), as on Home. Never paged: meta.pagination.total counts them all, and --workspace or --project narrows the list."
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"name": "viewer",
|
|
88
|
-
"flag": "viewer",
|
|
89
|
-
"kind": "string",
|
|
90
|
-
"required": false,
|
|
91
|
-
"description": "'me' reads Needs You for you, as Home does: your own sessions' reasons, and awaiting_approval on the pull requests that ask you for a review, which --owners then lets through whoever they belong to. Without it every reason is read for the session's Assignee.",
|
|
92
|
-
"choices": [
|
|
93
|
-
"me"
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
79
|
{
|
|
97
80
|
"name": "status",
|
|
98
81
|
"flag": "status",
|
|
@@ -119,7 +102,7 @@ export const operation = {
|
|
|
119
102
|
"flag": "q",
|
|
120
103
|
"kind": "string",
|
|
121
104
|
"required": false,
|
|
122
|
-
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page
|
|
105
|
+
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page."
|
|
123
106
|
},
|
|
124
107
|
{
|
|
125
108
|
"name": "createdBy",
|
|
@@ -144,7 +127,7 @@ export const operation = {
|
|
|
144
127
|
"flag": "limit",
|
|
145
128
|
"kind": "integer",
|
|
146
129
|
"required": false,
|
|
147
|
-
"description": "Page size, 50 by default
|
|
130
|
+
"description": "Page size, 50 by default. Values above 100 are clamped, not rejected."
|
|
148
131
|
},
|
|
149
132
|
{
|
|
150
133
|
"name": "cursor",
|
|
@@ -105,13 +105,6 @@ export const operation = {
|
|
|
105
105
|
"desc"
|
|
106
106
|
]
|
|
107
107
|
},
|
|
108
|
-
{
|
|
109
|
-
"name": "needsYou",
|
|
110
|
-
"flag": "needs-you",
|
|
111
|
-
"kind": "boolean",
|
|
112
|
-
"required": false,
|
|
113
|
-
"description": "Only tasks whose Chat Session needs the viewer."
|
|
114
|
-
},
|
|
115
108
|
{
|
|
116
109
|
"name": "includePrompt",
|
|
117
110
|
"flag": "include-prompt",
|
|
@@ -106,13 +106,6 @@ export const operation = {
|
|
|
106
106
|
"desc"
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
|
-
{
|
|
110
|
-
"name": "needsYou",
|
|
111
|
-
"flag": "needs-you",
|
|
112
|
-
"kind": "boolean",
|
|
113
|
-
"required": false,
|
|
114
|
-
"description": "Only tasks whose Chat Session needs the viewer."
|
|
115
|
-
},
|
|
116
109
|
{
|
|
117
110
|
"name": "includePrompt",
|
|
118
111
|
"flag": "include-prompt",
|
|
@@ -104,13 +104,6 @@ export const operation = {
|
|
|
104
104
|
"desc"
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
|
-
{
|
|
108
|
-
"name": "needsYou",
|
|
109
|
-
"flag": "needs-you",
|
|
110
|
-
"kind": "boolean",
|
|
111
|
-
"required": false,
|
|
112
|
-
"description": "Only tasks whose Chat Session needs the viewer."
|
|
113
|
-
},
|
|
114
107
|
{
|
|
115
108
|
"name": "includePrompt",
|
|
116
109
|
"flag": "include-prompt",
|
package/openapi.json
CHANGED
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"name": "kind",
|
|
78
78
|
"in": "query",
|
|
79
79
|
"required": false,
|
|
80
|
-
"description": "Comma-separated kinds (job_awaiting_response, pr_checks_failed, pr_checks_passed, main_checks_failed, main_checks_passed, pr_merged, branch_behind,
|
|
80
|
+
"description": "Comma-separated kinds (job_awaiting_response, pr_checks_failed, pr_checks_passed, main_checks_failed, main_checks_passed, pr_merged, branch_behind, cron_run_succeeded, cron_run_failed, deployed, recovery_deploy_started, workspace_device_disconnected, session_started, session_message_sent, session_archived, session_deleted, session_assigned, session_status_changed, session_priority_changed, cron_created, cron_updated, cron_deleted, member_invited, member_removed, member_role_changed, integration_custom_tool_saved, integration_custom_tool_enabled, integration_custom_tool_disabled, integration_custom_tool_deleted, integration_custom_tool_restored), or 'change' for every Change and 'action' for every Member Action.",
|
|
81
81
|
"schema": {
|
|
82
|
-
"description": "Comma-separated kinds (job_awaiting_response, pr_checks_failed, pr_checks_passed, main_checks_failed, main_checks_passed, pr_merged, branch_behind,
|
|
82
|
+
"description": "Comma-separated kinds (job_awaiting_response, pr_checks_failed, pr_checks_passed, main_checks_failed, main_checks_passed, pr_merged, branch_behind, cron_run_succeeded, cron_run_failed, deployed, recovery_deploy_started, workspace_device_disconnected, session_started, session_message_sent, session_archived, session_deleted, session_assigned, session_status_changed, session_priority_changed, cron_created, cron_updated, cron_deleted, member_invited, member_removed, member_role_changed, integration_custom_tool_saved, integration_custom_tool_enabled, integration_custom_tool_disabled, integration_custom_tool_deleted, integration_custom_tool_restored), or 'change' for every Change and 'action' for every Member Action.",
|
|
83
83
|
"type": "string"
|
|
84
84
|
}
|
|
85
85
|
},
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
"/api/chat-sessions": {
|
|
551
551
|
"get": {
|
|
552
552
|
"operationId": "sessionsListAll",
|
|
553
|
-
"summary": "List chat sessions across every workspace you belong to, each with its workspace, project
|
|
553
|
+
"summary": "List chat sessions across every workspace you belong to, each with its workspace, project and URL. q narrows them to titles containing it, ids to the sessions it names. Merge agent run sessions are left out unless includeMergeAgentRuns=true or ids names them. An agent token reads its own workspace only. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts; goAheadSha, the head its open pull request has the go-ahead on; and mergeRule, its Assignee's Merge rule.",
|
|
554
554
|
"tags": ["sessions"],
|
|
555
555
|
"x-kosuke-command": ["sessions", "list"],
|
|
556
556
|
"x-kosuke-variant": {
|
|
@@ -653,27 +653,6 @@
|
|
|
653
653
|
"type": "string"
|
|
654
654
|
}
|
|
655
655
|
},
|
|
656
|
-
{
|
|
657
|
-
"name": "needsYou",
|
|
658
|
-
"in": "query",
|
|
659
|
-
"required": false,
|
|
660
|
-
"description": "Only sessions blocked on a person: at most 100, most severe reason first (checks_failed, turn_failed, awaiting_response, ship_stop, ready_to_merge, review_not_requested, awaiting_approval, conflicts, behind, stale_pr), as on Home. Never paged: meta.pagination.total counts them all, and --workspace or --project narrows the list.",
|
|
661
|
-
"schema": {
|
|
662
|
-
"description": "Only sessions blocked on a person: at most 100, most severe reason first (checks_failed, turn_failed, awaiting_response, ship_stop, ready_to_merge, review_not_requested, awaiting_approval, conflicts, behind, stale_pr), as on Home. Never paged: meta.pagination.total counts them all, and --workspace or --project narrows the list.",
|
|
663
|
-
"type": "boolean"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"name": "viewer",
|
|
668
|
-
"in": "query",
|
|
669
|
-
"required": false,
|
|
670
|
-
"description": "'me' reads Needs You for you, as Home does: your own sessions' reasons, and awaiting_approval on the pull requests that ask you for a review, which --owners then lets through whoever they belong to. Without it every reason is read for the session's Assignee.",
|
|
671
|
-
"schema": {
|
|
672
|
-
"description": "'me' reads Needs You for you, as Home does: your own sessions' reasons, and awaiting_approval on the pull requests that ask you for a review, which --owners then lets through whoever they belong to. Without it every reason is read for the session's Assignee.",
|
|
673
|
-
"type": "string",
|
|
674
|
-
"enum": ["me"]
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
656
|
{
|
|
678
657
|
"name": "status",
|
|
679
658
|
"in": "query",
|
|
@@ -708,9 +687,9 @@
|
|
|
708
687
|
"name": "q",
|
|
709
688
|
"in": "query",
|
|
710
689
|
"required": false,
|
|
711
|
-
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page
|
|
690
|
+
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page.",
|
|
712
691
|
"schema": {
|
|
713
|
-
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page
|
|
692
|
+
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page.",
|
|
714
693
|
"type": "string"
|
|
715
694
|
}
|
|
716
695
|
},
|
|
@@ -739,9 +718,9 @@
|
|
|
739
718
|
"name": "limit",
|
|
740
719
|
"in": "query",
|
|
741
720
|
"required": false,
|
|
742
|
-
"description": "Page size, 50 by default
|
|
721
|
+
"description": "Page size, 50 by default. Values above 100 are clamped, not rejected.",
|
|
743
722
|
"schema": {
|
|
744
|
-
"description": "Page size, 50 by default
|
|
723
|
+
"description": "Page size, 50 by default. Values above 100 are clamped, not rejected.",
|
|
745
724
|
"type": "integer",
|
|
746
725
|
"minimum": 1,
|
|
747
726
|
"maximum": 9007199254740991
|
|
@@ -8337,16 +8316,6 @@
|
|
|
8337
8316
|
"enum": ["asc", "desc"]
|
|
8338
8317
|
}
|
|
8339
8318
|
},
|
|
8340
|
-
{
|
|
8341
|
-
"name": "needsYou",
|
|
8342
|
-
"in": "query",
|
|
8343
|
-
"required": false,
|
|
8344
|
-
"description": "Only tasks whose Chat Session needs the viewer.",
|
|
8345
|
-
"schema": {
|
|
8346
|
-
"description": "Only tasks whose Chat Session needs the viewer.",
|
|
8347
|
-
"type": "boolean"
|
|
8348
|
-
}
|
|
8349
|
-
},
|
|
8350
8319
|
{
|
|
8351
8320
|
"name": "includePrompt",
|
|
8352
8321
|
"in": "query",
|
|
@@ -25437,16 +25406,6 @@
|
|
|
25437
25406
|
"enum": ["asc", "desc"]
|
|
25438
25407
|
}
|
|
25439
25408
|
},
|
|
25440
|
-
{
|
|
25441
|
-
"name": "needsYou",
|
|
25442
|
-
"in": "query",
|
|
25443
|
-
"required": false,
|
|
25444
|
-
"description": "Only tasks whose Chat Session needs the viewer.",
|
|
25445
|
-
"schema": {
|
|
25446
|
-
"description": "Only tasks whose Chat Session needs the viewer.",
|
|
25447
|
-
"type": "boolean"
|
|
25448
|
-
}
|
|
25449
|
-
},
|
|
25450
25409
|
{
|
|
25451
25410
|
"name": "includePrompt",
|
|
25452
25411
|
"in": "query",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66",
|
|
4
4
|
"description": "Sensei platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,11 +43,10 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "2c5f022a6d8cb955f06f07c742d3596e6abef3bb",
|
|
47
|
+
"sourceIdentity": "b64191c6dae87a4dae05bdec909420b1cf4f90f038249d32e767dc1f276efdda",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
50
|
-
"sensei-rules-one-prompt-r7k2pq.json"
|
|
49
|
+
"sessions-list-drop-needs-you-8w3kfz.json"
|
|
51
50
|
]
|
|
52
51
|
}
|
|
53
52
|
}
|