orizu 0.5.40 → 0.5.42
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/dist/account-directory.d.ts.map +1 -1
- package/dist/account-directory.js +2 -10
- package/dist/app-publish-workspace.js +1 -1
- package/dist/archive-artifact-workflow.d.ts +23 -0
- package/dist/archive-artifact-workflow.d.ts.map +1 -0
- package/dist/archive-artifact-workflow.js +100 -0
- package/dist/archive-artifacts-cli.d.ts.map +1 -1
- package/dist/archive-artifacts-cli.js +7 -11
- package/dist/dataset-clone-workflow.d.ts +11 -0
- package/dist/dataset-clone-workflow.d.ts.map +1 -0
- package/dist/dataset-clone-workflow.js +100 -0
- package/dist/dataset-commands.d.ts.map +1 -1
- package/dist/dataset-commands.js +25 -58
- package/dist/dataset-split-create-workflow.d.ts +16 -0
- package/dist/dataset-split-create-workflow.d.ts.map +1 -0
- package/dist/dataset-split-create-workflow.js +115 -0
- package/dist/dataset-transfer-upload.d.ts +2 -6
- package/dist/dataset-transfer-upload.d.ts.map +1 -1
- package/dist/dataset-transfer-upload.js +9 -2
- package/dist/dataset-upload-snapshot.d.ts.map +1 -1
- package/dist/dataset-upload-snapshot.js +7 -1
- package/dist/dataset-version-workflow.d.ts +24 -0
- package/dist/dataset-version-workflow.d.ts.map +1 -0
- package/dist/dataset-version-workflow.js +99 -0
- package/dist/feedback-cli.js +3 -3
- package/dist/git-credential.js +1 -1
- package/dist/help.d.ts.map +1 -1
- package/dist/help.js +10 -2
- package/dist/hosted-boot.d.ts +7 -0
- package/dist/hosted-boot.d.ts.map +1 -1
- package/dist/hosted-boot.js +251 -58
- package/dist/hosted-harness-opencode.d.ts +1 -1
- package/dist/hosted-harness-opencode.js +7 -7
- package/dist/hosted-harness.d.ts +1 -0
- package/dist/hosted-harness.d.ts.map +1 -1
- package/dist/hosted-harness.js +2 -0
- package/dist/hosted-harvest.d.ts +2 -1
- package/dist/hosted-harvest.d.ts.map +1 -1
- package/dist/hosted-harvest.js +29 -17
- package/dist/hosted-live-channel.d.ts +25 -0
- package/dist/hosted-live-channel.d.ts.map +1 -0
- package/dist/hosted-live-channel.js +130 -0
- package/dist/hosted-loop-lifecycle.d.ts +3 -2
- package/dist/hosted-loop-lifecycle.d.ts.map +1 -1
- package/dist/hosted-loop-lifecycle.js +3 -2
- package/dist/hosted-loop.d.ts +7 -0
- package/dist/hosted-loop.d.ts.map +1 -1
- package/dist/hosted-loop.js +32 -6
- package/dist/hosted-run-event-sink.d.ts +3 -0
- package/dist/hosted-run-event-sink.d.ts.map +1 -1
- package/dist/hosted-run-event-sink.js +4 -0
- package/dist/hosted-runtime-assets.js +1 -1
- package/dist/hosted-session-cli.d.ts.map +1 -1
- package/dist/hosted-session-cli.js +4 -0
- package/dist/hosted-session-seed.d.ts +8 -6
- package/dist/hosted-session-seed.d.ts.map +1 -1
- package/dist/hosted-session-seed.js +26 -9
- package/dist/hosted-skill-staging.d.ts +36 -12
- package/dist/hosted-skill-staging.d.ts.map +1 -1
- package/dist/hosted-skill-staging.js +96 -34
- package/dist/http.d.ts +2 -1
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +10 -6
- package/dist/index.js +2 -2
- package/dist/last-error-record.d.ts +4 -2
- package/dist/last-error-record.d.ts.map +1 -1
- package/dist/last-error-record.js +10 -68
- package/dist/last-error-workflow.d.ts +4 -0
- package/dist/last-error-workflow.d.ts.map +1 -0
- package/dist/last-error-workflow.js +78 -0
- package/dist/orizu-skill-links.d.ts +48 -0
- package/dist/orizu-skill-links.d.ts.map +1 -0
- package/dist/orizu-skill-links.js +99 -0
- package/dist/preview-runtime.d.ts +1 -0
- package/dist/preview-runtime.d.ts.map +1 -1
- package/dist/preview-runtime.js +15 -0
- package/dist/setup-and-skills-commands.d.ts.map +1 -1
- package/dist/setup-and-skills-commands.js +52 -7
- package/dist/setup-onboarding.d.ts.map +1 -1
- package/dist/setup-onboarding.js +6 -2
- package/dist/skill-installer.d.ts +16 -0
- package/dist/skill-installer.d.ts.map +1 -1
- package/dist/skill-installer.js +33 -5
- package/dist/task-commands.d.ts.map +1 -1
- package/dist/task-commands.js +9 -16
- package/dist/task-report-workflow.d.ts +47 -0
- package/dist/task-report-workflow.d.ts.map +1 -0
- package/dist/task-report-workflow.js +160 -0
- package/dist/team-create-workflow.d.ts +16 -0
- package/dist/team-create-workflow.d.ts.map +1 -0
- package/dist/team-create-workflow.js +130 -0
- package/dist/workbench-cli.d.ts.map +1 -1
- package/dist/workbench-cli.js +24 -4
- package/package.json +1 -1
- package/src/account-directory.ts +2 -10
- package/src/app-publish-workspace.ts +1 -1
- package/src/archive-artifact-workflow.ts +101 -0
- package/src/archive-artifacts-cli.ts +7 -28
- package/src/dataset-clone-workflow.ts +100 -0
- package/src/dataset-commands.ts +25 -84
- package/src/dataset-split-create-workflow.ts +128 -0
- package/src/dataset-transfer-upload.ts +12 -5
- package/src/dataset-upload-snapshot.ts +8 -1
- package/src/dataset-version-workflow.ts +105 -0
- package/src/feedback-cli.ts +4 -4
- package/src/git-credential.ts +1 -1
- package/src/help.ts +10 -2
- package/src/hosted-boot.ts +252 -57
- package/src/hosted-harness-opencode.ts +7 -7
- package/src/hosted-harness.ts +2 -0
- package/src/hosted-harvest.ts +30 -17
- package/src/hosted-live-channel.ts +136 -0
- package/src/hosted-loop-lifecycle.ts +3 -2
- package/src/hosted-loop.ts +30 -6
- package/src/hosted-run-event-sink.ts +7 -0
- package/src/hosted-runtime-assets.ts +1 -1
- package/src/hosted-session-cli.ts +4 -0
- package/src/hosted-session-seed.ts +28 -10
- package/src/hosted-skill-staging.ts +110 -36
- package/src/http.ts +12 -7
- package/src/index.ts +2 -2
- package/src/last-error-record.ts +11 -85
- package/src/last-error-workflow.ts +121 -0
- package/src/orizu-skill-links.ts +114 -0
- package/src/preview-runtime.ts +16 -0
- package/src/setup-and-skills-commands.ts +60 -6
- package/src/setup-onboarding.ts +6 -2
- package/src/skill-installer.ts +44 -5
- package/src/task-commands.ts +9 -43
- package/src/task-report-workflow.ts +179 -0
- package/src/team-create-workflow.ts +132 -0
- package/src/workbench-cli.ts +24 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type DatasetVersionResponse } from './dataset-version-workflow.js';
|
|
1
2
|
export interface DatasetUploadResponse {
|
|
2
3
|
dataset: {
|
|
3
4
|
id: string;
|
|
@@ -12,11 +13,6 @@ export interface DatasetUploadResponse {
|
|
|
12
13
|
created_at: string;
|
|
13
14
|
} | null;
|
|
14
15
|
}
|
|
15
|
-
interface DatasetSnapshot {
|
|
16
|
-
datasetVersion: {
|
|
17
|
-
id: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
16
|
type UploadRows = Array<Record<string, unknown>>;
|
|
21
17
|
type UploadSource = {
|
|
22
18
|
kind: 'jsonl';
|
|
@@ -36,7 +32,7 @@ export interface DatasetUploadOptions {
|
|
|
36
32
|
}
|
|
37
33
|
export declare function transferDatasetUpload(options: DatasetUploadOptions): Promise<{
|
|
38
34
|
data: DatasetUploadResponse;
|
|
39
|
-
version:
|
|
35
|
+
version: DatasetVersionResponse;
|
|
40
36
|
}>;
|
|
41
37
|
export {};
|
|
42
38
|
//# sourceMappingURL=dataset-transfer-upload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-transfer-upload.d.ts","sourceRoot":"","sources":["../src/dataset-transfer-upload.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dataset-transfer-upload.d.ts","sourceRoot":"","sources":["../src/dataset-transfer-upload.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AAM/H,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACzF,aAAa,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAC/E;AAGD,KAAK,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AAChD,KAAK,YAAY,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,UAAU,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,CAAA;AAE9H,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,YAAY,CAAA;IACpB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CACnD;AA2HD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,qBAAqB,CAAC;IAAC,OAAO,EAAE,sBAAsB,CAAA;CAAE,CAAC,CAE9I"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Context, Effect, Layer, Result } from 'effect';
|
|
2
2
|
import { ensureDatasetUploadSnapshot } from './dataset-upload-snapshot.js';
|
|
3
3
|
import { datasetTransferTimeoutMs } from './dataset-transfer-policy.js';
|
|
4
|
+
import { datasetVersionSnapshot } from './dataset-version-workflow.js';
|
|
4
5
|
import { extractErrorMessage } from './error-response.js';
|
|
5
6
|
import { authedFetch } from './http.js';
|
|
6
7
|
import { parseJsonResponse, sanitizeTerminalText } from './json-response.js';
|
|
@@ -18,6 +19,12 @@ class DatasetInputFailure extends Error {
|
|
|
18
19
|
constructor(cause) { super(cause instanceof Error ? cause.message : String(cause), { cause }); }
|
|
19
20
|
}
|
|
20
21
|
const DatasetUploadApi = Context.Service('orizu/DatasetUploadApi');
|
|
22
|
+
// authedFetch raises this code only when it sent nothing, or after the server
|
|
23
|
+
// answered 401 (it writes nothing) and the stored credentials changed, so it
|
|
24
|
+
// refused to replay. Either way nothing was written (ORI-2431).
|
|
25
|
+
function isAuthContextChange(cause) {
|
|
26
|
+
return cause instanceof Error && cause.message.startsWith('ORIZU_AUTH_CONTEXT_CHANGED:');
|
|
27
|
+
}
|
|
21
28
|
// Only the existing authentication client's rejected-token refresh may replay a
|
|
22
29
|
// request. No transient/transport retries belong around these non-idempotent writes.
|
|
23
30
|
function post(path, body, context, prefix, timeoutMs) {
|
|
@@ -34,7 +41,7 @@ function post(path, body, context, prefix, timeoutMs) {
|
|
|
34
41
|
}
|
|
35
42
|
return await parseJsonResponse(response, context);
|
|
36
43
|
},
|
|
37
|
-
catch: cause => cause instanceof DatasetWriteFailure ? cause : new DatasetWriteFailure(cause instanceof Error ? cause.message : String(cause), requestStarted ? 'unknown' : 'rejected', { cause }),
|
|
44
|
+
catch: cause => cause instanceof DatasetWriteFailure ? cause : new DatasetWriteFailure(cause instanceof Error ? cause.message : String(cause), requestStarted && !isAuthContextChange(cause) ? 'unknown' : 'rejected', { cause }),
|
|
38
45
|
}).pipe(Effect.timeoutOrElse({
|
|
39
46
|
duration: timeoutMs,
|
|
40
47
|
orElse: () => Effect.fail(new DatasetWriteFailure(`DATASET_TRANSFER_TIMEOUT: ${context} exceeded its deadline`, requestStarted ? 'unknown' : 'rejected')),
|
|
@@ -49,7 +56,7 @@ function liveUploadApi(options) {
|
|
|
49
56
|
...(options.readmeMarkdown !== null ? { readmeMarkdown: options.readmeMarkdown } : {}),
|
|
50
57
|
}, 'Dataset upload', 'Upload failed', timeoutMs),
|
|
51
58
|
append: (id, rows) => post(`/api/cli/datasets/${encodeURIComponent(id)}/rows`, { rows }, 'Dataset append', 'Append failed', timeoutMs),
|
|
52
|
-
snapshot: id =>
|
|
59
|
+
snapshot: id => datasetVersionSnapshot(id, {}, timeoutMs),
|
|
53
60
|
});
|
|
54
61
|
}
|
|
55
62
|
async function expectedPromise(program) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-upload-snapshot.d.ts","sourceRoot":"","sources":["../src/dataset-upload-snapshot.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dataset-upload-snapshot.d.ts","sourceRoot":"","sources":["../src/dataset-upload-snapshot.ts"],"names":[],"mappings":"AAEA,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,UAAU,sBAAsB;IAC9B,cAAc,EAAE;QACd,EAAE,EAAE,MAAM,CAAA;KACX,CAAA;CACF;AAED,wBAAsB,2BAA2B,CAAC,CAAC,SAAS,sBAAsB,EAChF,OAAO,EAAE,uBAAuB,EAChC,UAAU,EAAE,OAAO,EACnB,cAAc,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,GAChD,OAAO,CAAC,CAAC,CAAC,CA6BZ"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DatasetVersionFailure, VERSION_MAY_BE_CREATED } from './dataset-version-workflow.js';
|
|
1
2
|
export async function ensureDatasetUploadSnapshot(dataset, jsonOutput, createSnapshot) {
|
|
2
3
|
try {
|
|
3
4
|
return await createSnapshot(dataset.id);
|
|
@@ -5,6 +6,8 @@ export async function ensureDatasetUploadSnapshot(dataset, jsonOutput, createSna
|
|
|
5
6
|
catch (error) {
|
|
6
7
|
const detail = error instanceof Error ? error.message : String(error);
|
|
7
8
|
const retryCommand = `orizu datasets versions create --dataset ${dataset.id}`;
|
|
9
|
+
// After an unclear outcome the version may exist; check before retrying.
|
|
10
|
+
const mayBeCreated = error instanceof DatasetVersionFailure && error.mayBeCreated;
|
|
8
11
|
if (jsonOutput) {
|
|
9
12
|
throw new Error(JSON.stringify({
|
|
10
13
|
error: 'Dataset upload completed but dataset version creation failed',
|
|
@@ -13,10 +16,13 @@ export async function ensureDatasetUploadSnapshot(dataset, jsonOutput, createSna
|
|
|
13
16
|
dataset_id: dataset.id,
|
|
14
17
|
dataset_version_id: null,
|
|
15
18
|
retry_command: retryCommand,
|
|
19
|
+
...(mayBeCreated ? { may_be_created: true } : {}),
|
|
16
20
|
}));
|
|
17
21
|
}
|
|
18
22
|
throw new Error(`Dataset upload completed but dataset version creation failed: ${detail}\n` +
|
|
19
23
|
`Dataset ${dataset.name} (${dataset.id}) was created with ${dataset.rowCount} rows. ` +
|
|
20
|
-
|
|
24
|
+
(mayBeCreated
|
|
25
|
+
? `${VERSION_MAY_BE_CREATED} If it is not there, create it with: ${retryCommand}`
|
|
26
|
+
: `Retry only the snapshot step with: ${retryCommand}`));
|
|
21
27
|
}
|
|
22
28
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Effect, Schema } from 'effect';
|
|
2
|
+
export declare const VERSION_MAY_BE_CREATED = "The version may already be created: check the dataset's versions in the web app before creating it again.";
|
|
3
|
+
declare const CreateReply: Schema.Struct<{
|
|
4
|
+
readonly datasetVersion: Schema.Struct<{
|
|
5
|
+
readonly id: Schema.NonEmptyString;
|
|
6
|
+
readonly rowCount: Schema.Number;
|
|
7
|
+
readonly artifactFormat: Schema.optional<Schema.String>;
|
|
8
|
+
readonly artifactStoragePath: Schema.optional<Schema.String>;
|
|
9
|
+
}>;
|
|
10
|
+
}>;
|
|
11
|
+
export type DatasetVersionResponse = typeof CreateReply.Type;
|
|
12
|
+
export interface DatasetVersionRequest {
|
|
13
|
+
versionLabel?: string | null;
|
|
14
|
+
readmeMarkdown?: string | null;
|
|
15
|
+
}
|
|
16
|
+
export declare class DatasetVersionFailure extends Error {
|
|
17
|
+
readonly mayBeCreated: boolean;
|
|
18
|
+
readonly _tag = "DatasetVersionFailure";
|
|
19
|
+
constructor(message: string, mayBeCreated: boolean);
|
|
20
|
+
}
|
|
21
|
+
export declare function datasetVersionSnapshot(datasetId: string, options: DatasetVersionRequest, timeoutMs: number): Effect.Effect<DatasetVersionResponse, DatasetVersionFailure>;
|
|
22
|
+
export declare function createDatasetVersionSnapshot(datasetId: string, options: DatasetVersionRequest): Promise<DatasetVersionResponse>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=dataset-version-workflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataset-version-workflow.d.ts","sourceRoot":"","sources":["../src/dataset-version-workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,EAAgB,MAAM,EAAE,MAAM,QAAQ,CAAA;AAS5D,eAAO,MAAM,sBAAsB,8GAA8G,CAAA;AAIjJ,QAAA,MAAM,WAAW;;;;;;;EAOf,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,OAAO,WAAW,CAAC,IAAI,CAAA;AAE5D,MAAM,WAAW,qBAAqB;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/B;AAMD,qBAAa,qBAAsB,SAAQ,KAAK;IAEjB,QAAQ,CAAC,YAAY,EAAE,OAAO;IAD3D,QAAQ,CAAC,IAAI,2BAA0B;gBAC3B,OAAO,EAAE,MAAM,EAAW,YAAY,EAAE,OAAO;CAC5D;AAaD,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,qBAAqB,CAAC,CA+CzK;AAED,wBAAsB,4BAA4B,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAMrI"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Cause, Effect, Exit, Result, Schema } from 'effect';
|
|
2
|
+
import { datasetTransferTimeoutMs } from './dataset-transfer-policy.js';
|
|
3
|
+
import { extractErrorMessage, isJsonErrorResponsePayload } from './error-response.js';
|
|
4
|
+
import { authedFetch } from './http.js';
|
|
5
|
+
import { parseJsonResponse } from './json-response.js';
|
|
6
|
+
// Loaded only through `await import(...)`, like the README and delete workflows.
|
|
7
|
+
export const VERSION_MAY_BE_CREATED = "The version may already be created: check the dataset's versions in the web app before creating it again.";
|
|
8
|
+
// What the server says when it cannot tell whether the version was saved.
|
|
9
|
+
const SERVER_MAY_BE_CREATED = 'Dataset version may already be created';
|
|
10
|
+
const CreateReply = Schema.Struct({
|
|
11
|
+
datasetVersion: Schema.Struct({
|
|
12
|
+
id: Schema.NonEmptyString,
|
|
13
|
+
rowCount: Schema.Number,
|
|
14
|
+
artifactFormat: Schema.optional(Schema.String),
|
|
15
|
+
artifactStoragePath: Schema.optional(Schema.String),
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
18
|
+
// The version may exist when the server says so, when the reply was lost or
|
|
19
|
+
// unreadable after the request was sent, or when a 5xx did not come from the
|
|
20
|
+
// app (a gateway giving up while the app kept working). Any other error reply
|
|
21
|
+
// is a clear refusal.
|
|
22
|
+
export class DatasetVersionFailure extends Error {
|
|
23
|
+
mayBeCreated;
|
|
24
|
+
_tag = 'DatasetVersionFailure';
|
|
25
|
+
constructor(message, mayBeCreated) {
|
|
26
|
+
super(message);
|
|
27
|
+
this.mayBeCreated = mayBeCreated;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
async function appErrorOf(response) {
|
|
31
|
+
try {
|
|
32
|
+
const payload = await response.json();
|
|
33
|
+
return isJsonErrorResponsePayload(response, payload) ? payload.error : null;
|
|
34
|
+
}
|
|
35
|
+
catch {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
// One request, never retried: a retry after an unknown outcome could add a
|
|
40
|
+
// second version.
|
|
41
|
+
export function datasetVersionSnapshot(datasetId, options, timeoutMs) {
|
|
42
|
+
return Effect.suspend(() => {
|
|
43
|
+
let sent = false;
|
|
44
|
+
let timedOut = false;
|
|
45
|
+
return Effect.tryPromise({
|
|
46
|
+
try: async (signal) => {
|
|
47
|
+
const request = new AbortController();
|
|
48
|
+
const abort = () => request.abort();
|
|
49
|
+
const timer = setTimeout(() => { timedOut = true; request.abort(); }, timeoutMs);
|
|
50
|
+
if (signal.aborted)
|
|
51
|
+
abort();
|
|
52
|
+
else
|
|
53
|
+
signal.addEventListener('abort', abort, { once: true });
|
|
54
|
+
try {
|
|
55
|
+
const response = await authedFetch(`/api/cli/datasets/${encodeURIComponent(datasetId)}/versions`, {
|
|
56
|
+
method: 'POST',
|
|
57
|
+
headers: { 'Content-Type': 'application/json' },
|
|
58
|
+
body: JSON.stringify({
|
|
59
|
+
...(options.versionLabel ? { versionLabel: options.versionLabel } : {}),
|
|
60
|
+
...(options.readmeMarkdown !== undefined && options.readmeMarkdown !== null
|
|
61
|
+
? { readmeMarkdown: options.readmeMarkdown }
|
|
62
|
+
: {}),
|
|
63
|
+
}),
|
|
64
|
+
signal: request.signal,
|
|
65
|
+
}, () => { sent = true; });
|
|
66
|
+
if (!response.ok) {
|
|
67
|
+
const serverError = await appErrorOf(response.clone());
|
|
68
|
+
const message = `Failed to create dataset version: ${await extractErrorMessage(response)}`;
|
|
69
|
+
throw new DatasetVersionFailure(message, response.status < 400 || serverError === SERVER_MAY_BE_CREATED || (response.status >= 500 && serverError === null));
|
|
70
|
+
}
|
|
71
|
+
const data = await parseJsonResponse(response, 'Dataset version create');
|
|
72
|
+
const decoded = Schema.decodeUnknownResult(CreateReply)(data);
|
|
73
|
+
if (Result.isFailure(decoded)) {
|
|
74
|
+
throw new DatasetVersionFailure(`Dataset version create returned an unexpected response (status ${response.status}).`, true);
|
|
75
|
+
}
|
|
76
|
+
return decoded.success;
|
|
77
|
+
}
|
|
78
|
+
finally {
|
|
79
|
+
clearTimeout(timer);
|
|
80
|
+
signal.removeEventListener('abort', abort);
|
|
81
|
+
request.abort();
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
catch: cause => {
|
|
85
|
+
if (timedOut)
|
|
86
|
+
return new DatasetVersionFailure('DATASET_TRANSFER_TIMEOUT: Dataset version create exceeded its deadline', sent);
|
|
87
|
+
if (cause instanceof DatasetVersionFailure)
|
|
88
|
+
return cause;
|
|
89
|
+
return new DatasetVersionFailure(cause instanceof Error ? cause.message : String(cause), sent);
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
export async function createDatasetVersionSnapshot(datasetId, options) {
|
|
95
|
+
const exit = await Effect.runPromiseExit(datasetVersionSnapshot(datasetId, options, datasetTransferTimeoutMs()).pipe(Effect.mapError(failure => new Error(failure.mayBeCreated ? `${failure.message}\n${VERSION_MAY_BE_CREATED}` : failure.message))));
|
|
96
|
+
if (Exit.isSuccess(exit))
|
|
97
|
+
return exit.value;
|
|
98
|
+
throw Cause.squash(exit.cause);
|
|
99
|
+
}
|
package/dist/feedback-cli.js
CHANGED
|
@@ -307,8 +307,8 @@ function resolveProjectContext(explicitProject, workspaceRoot) {
|
|
|
307
307
|
: existingWorkspaceTeamSlug(workspaceRoot);
|
|
308
308
|
return { teamSlug: workspaceTeam, projectSlug: null };
|
|
309
309
|
}
|
|
310
|
-
function lastErrorForContext(configDirectory, serverBaseUrl, teamSlug, now, printErr, scrubNotice) {
|
|
311
|
-
const record = readLastErrorRecord(configDirectory);
|
|
310
|
+
async function lastErrorForContext(configDirectory, serverBaseUrl, teamSlug, now, printErr, scrubNotice) {
|
|
311
|
+
const record = await readLastErrorRecord(configDirectory);
|
|
312
312
|
if (!record || !isLastErrorRecordShape(record))
|
|
313
313
|
return null;
|
|
314
314
|
if (teamSlug === null) {
|
|
@@ -482,7 +482,7 @@ export async function feedbackCommand(args, io) {
|
|
|
482
482
|
const values = { ...fromFile, ...parsed.values };
|
|
483
483
|
const lastError = parsed.suppressLastError
|
|
484
484
|
? null
|
|
485
|
-
: lastErrorForContext(configDirectory, baseUrl, projectContext.teamSlug, now(), io.printErr, scrubNotice);
|
|
485
|
+
: await lastErrorForContext(configDirectory, baseUrl, projectContext.teamSlug, now(), io.printErr, scrubNotice);
|
|
486
486
|
const scrubOptions = { reporterEmail: null, homeDir: homeDirectory, secrets };
|
|
487
487
|
const scrubbedFields = scrubFeedbackValue({
|
|
488
488
|
category: values.category,
|
package/dist/git-credential.js
CHANGED
|
@@ -296,7 +296,7 @@ function exactArtifactsCredentialKey(input) {
|
|
|
296
296
|
async function mintArtifactsCredential(fetcher, workspaceId, purpose, expectedCredentialKey, nowMs) {
|
|
297
297
|
const response = await fetcher(`/api/cli/workspaces/${encodeURIComponent(workspaceId)}/repo-token`, {
|
|
298
298
|
method: 'POST',
|
|
299
|
-
headers: { 'Content-Type': 'application/json' },
|
|
299
|
+
headers: { 'Content-Type': 'application/json', 'X-Orizu-Session-Seed-Protocol': '1' },
|
|
300
300
|
body: JSON.stringify({ purpose, ...(purpose === 'team_read' ? { sessionId: process.env.ORIZU_SESSION_ID?.trim() } : {}) }),
|
|
301
301
|
});
|
|
302
302
|
if (!response.ok) {
|
package/dist/help.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../src/help.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IAC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AAE,GAAG,MAAM,CAgBxD;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;EAoB9C"}
|
package/dist/help.js
CHANGED
|
@@ -939,9 +939,17 @@ export const COMMAND_DOCS = [
|
|
|
939
939
|
},
|
|
940
940
|
{
|
|
941
941
|
path: ['datasets', 'splits', 'create'],
|
|
942
|
-
usage: 'orizu datasets splits create <datasetVersionId> [--from-file <split.json>] [--json]',
|
|
943
|
-
summary: 'Create a split set for the explicit target dataset version. --from-file accepts splits show JSON; canonical row IDs must exist in the target.',
|
|
942
|
+
usage: 'orizu datasets splits create <datasetVersionId> [--from-file <split.json>] [--name <name>] [--seed <n>] [--train <ratio>] [--validation <ratio>] [--test <ratio>] [--json]',
|
|
943
|
+
summary: 'Create a split set for the explicit target dataset version. --from-file accepts splits show JSON; canonical row IDs must exist in the target. Each version allows one set per name.',
|
|
944
944
|
group: 'Datasets',
|
|
945
|
+
options: [
|
|
946
|
+
{ name: '--from-file <split.json>', help: 'Saved partitions to import, for example from splits show --json.' },
|
|
947
|
+
{ name: '--name <name>', help: 'Set name; defaults to the file name field, then "default".' },
|
|
948
|
+
{ name: '--seed <n>', help: 'Whole number from 0 to 2147483647 for a random split (default 1). The same seed gives the same rows.' },
|
|
949
|
+
{ name: '--train <ratio>', help: 'Share of rows for train, from 0 to 1 (default 0.7).' },
|
|
950
|
+
{ name: '--validation <ratio>', help: 'Share of rows for validation (default 0.2). Train plus validation must not be more than 1.' },
|
|
951
|
+
{ name: '--test <ratio>', help: 'Share of rows for test. Defaults to what train and validation leave; if given, the three must add up to 1.' },
|
|
952
|
+
],
|
|
945
953
|
},
|
|
946
954
|
{
|
|
947
955
|
path: ['datasets', 'download'],
|
package/dist/hosted-boot.d.ts
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
* non-secret ANTHROPIC_API_KEY dummy placeholder (firewall brokers the real key).
|
|
31
31
|
*/
|
|
32
32
|
import { type HostedLoopContext, type HostedLoopResult } from './hosted-loop.js';
|
|
33
|
+
import { type HostedLiveChannel } from './hosted-live-channel.js';
|
|
33
34
|
export type BootFetch = (url: string, init?: RequestInit) => Promise<Response>;
|
|
34
35
|
export declare const REQUIRED_BOOT_ENV_VARS: readonly ["ORIZU_BOOT_SECRET", "ORIZU_AGENT_TOKEN_URL", "ORIZU_ENV_BUNDLE_URL", "ORIZU_BASE_URL", "ORIZU_SESSION_ID"];
|
|
35
36
|
export interface HostedBootEnv {
|
|
@@ -157,6 +158,7 @@ export interface ResolvedSession {
|
|
|
157
158
|
pendingTurn: PendingHostedTurn | null;
|
|
158
159
|
interruptRequestedRunId: string | null;
|
|
159
160
|
agentSessionId: string | null;
|
|
161
|
+
seedOrigin: 'team' | 'session';
|
|
160
162
|
projectId: string | null;
|
|
161
163
|
/** Session lifetime in minutes (from client_info), if the coordinator recorded
|
|
162
164
|
* it — used to derive the per-prompt max-duration cap (ALI-1061). */
|
|
@@ -178,6 +180,8 @@ export declare const HOSTED_SESSION_DEFAULT_POLL_MS = 5000;
|
|
|
178
180
|
/** Wait between hosted-session reads. Exported so the production default can be
|
|
179
181
|
* verified without making boundary tests spend five real seconds asleep. */
|
|
180
182
|
export declare function waitForNextHostedSessionRead(sleep: (ms: number) => Promise<void>, pollMs?: number): Promise<void>;
|
|
183
|
+
/** The sandbox's live-socket pass route sits beside its agent-token route. */
|
|
184
|
+
export declare function deriveLiveSandboxPassUrl(agentTokenUrl: string): string;
|
|
181
185
|
/** Ride the ALI-1757 session/pending-turn poll while one prompt is active.
|
|
182
186
|
* This uses the same additive session GET contract, but deliberately shares
|
|
183
187
|
* none of the between-turn credential cleanup or mint-on-401 behavior: the
|
|
@@ -194,6 +198,9 @@ export declare function pollHostedSessionDuringTurn(opts: {
|
|
|
194
198
|
readFile?: (path: string) => string;
|
|
195
199
|
sleep?: (ms: number) => Promise<void>;
|
|
196
200
|
pollMs?: number;
|
|
201
|
+
/** ORI-2200: the coordinator's "check now" (a Stop was recorded) cuts the
|
|
202
|
+
* wait short. The read below still decides; a check alone stops nothing. */
|
|
203
|
+
live?: Pick<HostedLiveChannel, 'nextCheck'>;
|
|
197
204
|
}): Promise<void>;
|
|
198
205
|
/** Reuse an existing run or start one with the AGENT bearer (actor_type='agent'),
|
|
199
206
|
* exactly like the operator path's run-start step. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosted-boot.d.ts","sourceRoot":"","sources":["../src/hosted-boot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;
|
|
1
|
+
{"version":3,"file":"hosted-boot.d.ts","sourceRoot":"","sources":["../src/hosted-boot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAmBH,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAEtB,MAAM,kBAAkB,CAAA;AAKzB,OAAO,EAAyB,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAExF,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAA;AAW9E,eAAO,MAAM,sBAAsB,uHAMzB,CAAA;AAEV,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB;wEACoE;IACpE,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,gFAAgF;IAChF,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB;wCACoC;IACpC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,2EAA2E;IAC3E,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;CACjC;AAED;iFACiF;AACjF,wBAAgB,oBAAoB,CAClC,GA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