@a3s-lab/code 1.9.3 → 1.9.4

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 (2) hide show
  1. package/index.d.ts +5 -2
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -992,9 +992,12 @@ export declare class UnixSocketTransport {
992
992
  /** AI coding agent. Create with `Agent.create()`, then call `agent.session()`. */
993
993
  export declare class Agent {
994
994
  /**
995
- * Create an Agent from a config file path or inline HCL string.
995
+ * Create an Agent from a config file path or inline config string.
996
996
  *
997
- * @param configSource - Path to a .hcl file, or inline HCL string
997
+ * Accepts HCL (.hcl), JSON (.json), ACL (.acl), or inline config strings.
998
+ * For inline strings: JSON starts with '{', ACL starts with 'providers "', otherwise HCL.
999
+ *
1000
+ * @param configSource - Path to a config file (.hcl/.json/.acl), or inline config string
998
1001
  */
999
1002
  static create(configSource: string): Promise<Agent>
1000
1003
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a3s-lab/code",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "A3S Code - Native AI coding agent library for Node.js",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -44,11 +44,11 @@
44
44
  "test:loop": "tsx --tsconfig examples/tsconfig.json examples/test_loop_commands.ts"
45
45
  },
46
46
  "optionalDependencies": {
47
- "@a3s-lab/code-darwin-arm64": "1.9.3",
48
- "@a3s-lab/code-linux-x64-gnu": "1.9.3",
49
- "@a3s-lab/code-linux-x64-musl": "1.9.3",
50
- "@a3s-lab/code-linux-arm64-gnu": "1.9.3",
51
- "@a3s-lab/code-linux-arm64-musl": "1.9.3",
52
- "@a3s-lab/code-win32-x64-msvc": "1.9.3"
47
+ "@a3s-lab/code-darwin-arm64": "1.9.4",
48
+ "@a3s-lab/code-linux-x64-gnu": "1.9.4",
49
+ "@a3s-lab/code-linux-x64-musl": "1.9.4",
50
+ "@a3s-lab/code-linux-arm64-gnu": "1.9.4",
51
+ "@a3s-lab/code-linux-arm64-musl": "1.9.4",
52
+ "@a3s-lab/code-win32-x64-msvc": "1.9.4"
53
53
  }
54
54
  }