@tessl/cli 0.22.0 → 0.23.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.
Files changed (3) hide show
  1. package/dist/bundle.mjs +3555 -3391
  2. package/dist/cli.d.ts +10 -1
  3. package/package.json +1 -1
package/dist/cli.d.ts CHANGED
@@ -49,6 +49,7 @@ declare const netSchema: _sinclair_typebox.TObject<{
49
49
  TESSL_LOG_LEVEL: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"trace">, _sinclair_typebox.TLiteral<"debug">, _sinclair_typebox.TLiteral<"info">, _sinclair_typebox.TLiteral<"warn">, _sinclair_typebox.TLiteral<"error">, _sinclair_typebox.TLiteral<"fatal">, _sinclair_typebox.TLiteral<"silent">]>;
50
50
  TESSL_LOG_FILE: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
51
51
  WORKOS_CLIENT_ID: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
52
+ TESSL_TOKEN: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
52
53
  TESSL_LLM_API_KEY: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
53
54
  TESSL_LLM_BASE_URL: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
54
55
  TESSL_DISABLE_LLM_CACHE: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"true">, _sinclair_typebox.TLiteral<"false">]>>;
@@ -3932,7 +3933,9 @@ interface paths {
3932
3933
  };
3933
3934
  }
3934
3935
 
3935
- type TesslClient = Client<paths>;
3936
+ type TesslClient = Client<paths> & {
3937
+ setAccessToken: (accessToken: string | undefined) => void;
3938
+ };
3936
3939
 
3937
3940
  type TaskDetails = {
3938
3941
  task: string;
@@ -4147,6 +4150,8 @@ interface ExecRequest {
4147
4150
  cwd: string;
4148
4151
  /** Timeout in seconds (default: 10) */
4149
4152
  timeoutSecs?: number;
4153
+ /** Inactivity Timeout in seconds (default: 10) - times out the process if it doesn't output anything for x seconds */
4154
+ inactivityTimeoutSecs?: number;
4150
4155
  /** List of files to fetch after execution */
4151
4156
  fetchFiles?: string[];
4152
4157
  /** Whether to merge stdout/stderr (default: false) */
@@ -4169,6 +4174,10 @@ interface ExecResponse {
4169
4174
  fetchedFiles: Record<string, string>;
4170
4175
  /** Error if spawn failed */
4171
4176
  error?: unknown;
4177
+ /** Way that the process has timed out, either 'process':overall timeout,
4178
+ * or 'inactivity', i.e. the process has not written anything to stdout or stderr in x seconds
4179
+ * */
4180
+ timeoutType?: 'process' | 'inactivity';
4172
4181
  }
4173
4182
 
4174
4183
  interface CreateCommitRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tessl/cli",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Command line interface and MCP server for using Tessl",
5
5
  "types": "dist/cli.d.ts",
6
6
  "bin": {