t3code-cli 0.1.3 → 0.3.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 (88) hide show
  1. package/dist/bin.js +2 -2
  2. package/dist/index.js +1 -1
  3. package/dist/{runtime-0wuYCEoH.js → runtime-CMPZpQaG.js} +35 -31
  4. package/dist/src/application/error.d.ts +3 -0
  5. package/dist/src/application/layer.d.ts +776 -0
  6. package/dist/src/application/model-selection.d.ts +19 -0
  7. package/dist/src/application/models.d.ts +93 -0
  8. package/dist/src/application/project-commands.d.ts +15 -0
  9. package/dist/src/application/projects.d.ts +136 -0
  10. package/dist/src/application/service.d.ts +72 -0
  11. package/dist/src/application/shell-sequence.d.ts +91 -0
  12. package/dist/src/application/thread-commands.d.ts +84 -0
  13. package/dist/src/application/thread-wait.d.ts +104 -0
  14. package/dist/src/application/threads.d.ts +563 -0
  15. package/dist/src/auth/error.d.ts +31 -0
  16. package/dist/src/auth/layer.d.ts +36 -0
  17. package/dist/src/auth/local.d.ts +19 -0
  18. package/dist/src/auth/pairing.d.ts +4 -0
  19. package/dist/src/auth/schema.d.ts +67 -0
  20. package/dist/src/auth/service.d.ts +14 -0
  21. package/dist/src/auth/transport.d.ts +26 -0
  22. package/dist/src/auth/type.d.ts +26 -0
  23. package/dist/src/config/error.d.ts +18 -0
  24. package/dist/src/config/layer.d.ts +20 -0
  25. package/dist/src/config/service.d.ts +20 -0
  26. package/dist/src/config/url.d.ts +6 -0
  27. package/dist/src/domain/error.d.ts +31 -0
  28. package/dist/src/domain/helpers.d.ts +38 -0
  29. package/dist/src/domain/model-config.d.ts +293 -0
  30. package/dist/src/domain/thread-lifecycle.d.ts +114 -0
  31. package/dist/src/environment/layer.d.ts +3 -0
  32. package/dist/src/environment/service.d.ts +12 -0
  33. package/dist/src/index.d.ts +6 -0
  34. package/dist/src/orchestration/layer.d.ts +2128 -0
  35. package/dist/src/orchestration/service.d.ts +27 -0
  36. package/dist/src/rpc/error.d.ts +15 -0
  37. package/dist/src/rpc/layer.d.ts +4678 -0
  38. package/dist/src/rpc/service.d.ts +15 -0
  39. package/dist/src/rpc/ws-group.d.ts +2238 -0
  40. package/dist/src/runtime.d.ts +3 -0
  41. package/dist/upstream-t3code/packages/contracts/src/auth.d.ts +439 -0
  42. package/dist/upstream-t3code/packages/contracts/src/baseSchemas.d.ts +38 -0
  43. package/dist/upstream-t3code/packages/contracts/src/desktopBootstrap.d.ts +14 -0
  44. package/dist/upstream-t3code/packages/contracts/src/editor.d.ts +124 -0
  45. package/dist/upstream-t3code/packages/contracts/src/environment.d.ts +64 -0
  46. package/dist/upstream-t3code/packages/contracts/src/environmentHttp.d.ts +602 -0
  47. package/dist/upstream-t3code/packages/contracts/src/filesystem.d.ts +26 -0
  48. package/dist/upstream-t3code/packages/contracts/src/git.d.ts +500 -0
  49. package/dist/upstream-t3code/packages/contracts/src/index.d.ts +24 -0
  50. package/dist/upstream-t3code/packages/contracts/src/ipc.d.ts +466 -0
  51. package/dist/upstream-t3code/packages/contracts/src/keybindings.d.ts +133 -0
  52. package/dist/upstream-t3code/packages/contracts/src/model.d.ts +112 -0
  53. package/dist/upstream-t3code/packages/contracts/src/orchestration.d.ts +6682 -0
  54. package/dist/upstream-t3code/packages/contracts/src/project.d.ts +45 -0
  55. package/dist/upstream-t3code/packages/contracts/src/provider.d.ts +116 -0
  56. package/dist/upstream-t3code/packages/contracts/src/providerInstance.d.ts +99 -0
  57. package/dist/upstream-t3code/packages/contracts/src/providerRuntime.d.ts +4186 -0
  58. package/dist/upstream-t3code/packages/contracts/src/remoteAccess.d.ts +45 -0
  59. package/dist/upstream-t3code/packages/contracts/src/review.d.ts +37 -0
  60. package/dist/upstream-t3code/packages/contracts/src/rpc.d.ts +8149 -0
  61. package/dist/upstream-t3code/packages/contracts/src/server.d.ts +2291 -0
  62. package/dist/upstream-t3code/packages/contracts/src/settings.d.ts +271 -0
  63. package/dist/upstream-t3code/packages/contracts/src/sourceControl.d.ts +177 -0
  64. package/dist/upstream-t3code/packages/contracts/src/terminal.d.ts +330 -0
  65. package/dist/upstream-t3code/packages/contracts/src/vcs.d.ts +148 -0
  66. package/package.json +15 -7
  67. package/src/application/model-selection.ts +2 -2
  68. package/src/application/project-commands.ts +1 -1
  69. package/src/application/service.ts +1 -1
  70. package/src/application/shell-sequence.ts +1 -1
  71. package/src/application/thread-commands.ts +1 -1
  72. package/src/application/thread-wait.ts +1 -1
  73. package/src/auth/error.ts +5 -1
  74. package/src/auth/pairing.ts +6 -2
  75. package/src/auth/transport.ts +21 -10
  76. package/src/cli/model-format.ts +1 -1
  77. package/src/cli/project-format.ts +1 -1
  78. package/src/cli/thread-format.ts +1 -1
  79. package/src/config/url.ts +46 -2
  80. package/src/domain/helpers.ts +1 -1
  81. package/src/domain/model-config.ts +1 -1
  82. package/src/domain/thread-lifecycle.ts +1 -1
  83. package/src/index.ts +3 -3
  84. package/src/orchestration/layer.ts +1 -1
  85. package/src/orchestration/service.ts +1 -1
  86. package/src/rpc/error.ts +1 -1
  87. package/src/rpc/layer.ts +2 -2
  88. package/src/rpc/ws-group.ts +1 -1
@@ -0,0 +1,64 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const ExecutionEnvironmentPlatformOs: Schema.Literals<readonly ["darwin", "linux", "windows", "unknown"]>;
3
+ export type ExecutionEnvironmentPlatformOs = typeof ExecutionEnvironmentPlatformOs.Type;
4
+ export declare const ExecutionEnvironmentPlatformArch: Schema.Literals<readonly ["arm64", "x64", "other"]>;
5
+ export type ExecutionEnvironmentPlatformArch = typeof ExecutionEnvironmentPlatformArch.Type;
6
+ export declare const ExecutionEnvironmentPlatform: Schema.Struct<{
7
+ readonly os: Schema.Literals<readonly ["darwin", "linux", "windows", "unknown"]>;
8
+ readonly arch: Schema.Literals<readonly ["arm64", "x64", "other"]>;
9
+ }>;
10
+ export type ExecutionEnvironmentPlatform = typeof ExecutionEnvironmentPlatform.Type;
11
+ export declare const ExecutionEnvironmentCapabilities: Schema.Struct<{
12
+ readonly repositoryIdentity: Schema.withDecodingDefault<Schema.Boolean, never>;
13
+ }>;
14
+ export type ExecutionEnvironmentCapabilities = typeof ExecutionEnvironmentCapabilities.Type;
15
+ export declare const ExecutionEnvironmentDescriptor: Schema.Struct<{
16
+ readonly environmentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EnvironmentId">;
17
+ readonly label: Schema.decodeTo<Schema.String, Schema.String, never, never>;
18
+ readonly platform: Schema.Struct<{
19
+ readonly os: Schema.Literals<readonly ["darwin", "linux", "windows", "unknown"]>;
20
+ readonly arch: Schema.Literals<readonly ["arm64", "x64", "other"]>;
21
+ }>;
22
+ readonly serverVersion: Schema.decodeTo<Schema.String, Schema.String, never, never>;
23
+ readonly capabilities: Schema.Struct<{
24
+ readonly repositoryIdentity: Schema.withDecodingDefault<Schema.Boolean, never>;
25
+ }>;
26
+ }>;
27
+ export type ExecutionEnvironmentDescriptor = typeof ExecutionEnvironmentDescriptor.Type;
28
+ export declare const EnvironmentConnectionState: Schema.Literals<readonly ["connecting", "connected", "disconnected", "error"]>;
29
+ export type EnvironmentConnectionState = typeof EnvironmentConnectionState.Type;
30
+ export declare const RepositoryIdentityLocator: Schema.Struct<{
31
+ readonly source: Schema.Literal<"git-remote">;
32
+ readonly remoteName: Schema.decodeTo<Schema.String, Schema.String, never, never>;
33
+ readonly remoteUrl: Schema.decodeTo<Schema.String, Schema.String, never, never>;
34
+ }>;
35
+ export type RepositoryIdentityLocator = typeof RepositoryIdentityLocator.Type;
36
+ export declare const RepositoryIdentity: Schema.Struct<{
37
+ readonly canonicalKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
38
+ readonly locator: Schema.Struct<{
39
+ readonly source: Schema.Literal<"git-remote">;
40
+ readonly remoteName: Schema.decodeTo<Schema.String, Schema.String, never, never>;
41
+ readonly remoteUrl: Schema.decodeTo<Schema.String, Schema.String, never, never>;
42
+ }>;
43
+ readonly rootPath: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
44
+ readonly displayName: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
45
+ readonly provider: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
46
+ readonly owner: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
47
+ readonly name: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
48
+ }>;
49
+ export type RepositoryIdentity = typeof RepositoryIdentity.Type;
50
+ export declare const ScopedProjectRef: Schema.Struct<{
51
+ readonly environmentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EnvironmentId">;
52
+ readonly projectId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">;
53
+ }>;
54
+ export type ScopedProjectRef = typeof ScopedProjectRef.Type;
55
+ export declare const ScopedThreadRef: Schema.Struct<{
56
+ readonly environmentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EnvironmentId">;
57
+ readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
58
+ }>;
59
+ export type ScopedThreadRef = typeof ScopedThreadRef.Type;
60
+ export declare const ScopedThreadSessionRef: Schema.Struct<{
61
+ readonly environmentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EnvironmentId">;
62
+ readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
63
+ }>;
64
+ export type ScopedThreadSessionRef = typeof ScopedThreadSessionRef.Type;