@nylorun/create-agent 0.10.1-beta → 0.10.3-beta
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
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.3-beta
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c82aa6f: `nylorun up` prints Studio as `http://localhost:<port>`, with no login token in it, and in a terminal opens Studio in the browser already signed in (`--no-open` keeps the browser closed). The Studio sign-in lasts 30 days and survives Studio restarts: the session cookie is signed with a key derived from the admin key instead of being held in memory. `nylorun studio` prints the plain URL when it opens the browser; `nylorun studio --no-open` still prints the single-use login URL.
|
|
8
|
+
- Update the tested Harness, SDK, Runtime, and CLI compatibility combination.
|
|
9
|
+
|
|
10
|
+
## 0.10.2-beta
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Update the tested Harness, SDK, Runtime, and CLI compatibility combination.
|
|
15
|
+
|
|
3
16
|
## 0.10.1-beta
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/compatibility.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"harness": "0.
|
|
3
|
-
"runtime": "0.
|
|
4
|
-
"agents": "0.
|
|
5
|
-
"admin": "0.4.
|
|
6
|
-
"core": "0.
|
|
7
|
-
"cli": "0.4.
|
|
2
|
+
"harness": "0.20.0-beta",
|
|
3
|
+
"runtime": "0.13.0-beta",
|
|
4
|
+
"agents": "0.9.0-beta",
|
|
5
|
+
"admin": "0.4.1-beta",
|
|
6
|
+
"core": "0.8.0-beta",
|
|
7
|
+
"cli": "0.4.2-beta"
|
|
8
8
|
}
|
package/dist/compatibility.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"harness": "0.
|
|
3
|
-
"runtime": "0.
|
|
4
|
-
"agents": "0.
|
|
5
|
-
"admin": "0.4.
|
|
6
|
-
"core": "0.
|
|
7
|
-
"cli": "0.4.
|
|
2
|
+
"harness": "0.20.0-beta",
|
|
3
|
+
"runtime": "0.13.0-beta",
|
|
4
|
+
"agents": "0.9.0-beta",
|
|
5
|
+
"admin": "0.4.1-beta",
|
|
6
|
+
"core": "0.8.0-beta",
|
|
7
|
+
"cli": "0.4.2-beta"
|
|
8
8
|
}
|
package/dist/starter/README.md
CHANGED
|
@@ -31,7 +31,8 @@ npm run dev
|
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
`nylorun up` sets up the stack under `~/.nylorun` on the first run and just
|
|
34
|
-
starts it after that. It prints the Runtime
|
|
34
|
+
starts it after that. It prints the Runtime and Studio URLs and opens Studio,
|
|
35
|
+
signed in, in your browser. The
|
|
35
36
|
stack keeps running after you stop `npm run dev`, so sessions survive a source
|
|
36
37
|
change; `npx nylorun down` stops it (volumes are kept), `npx nylorun status`
|
|
37
38
|
shows its health, and `npx nylorun logs runtime -f` its logs.
|
|
@@ -45,8 +46,8 @@ Without them, set the provider in Studio's Model provider screen, or with
|
|
|
45
46
|
incur its usual charges.
|
|
46
47
|
|
|
47
48
|
`npm run dev` runs `src/main.ts` with `tsx watch`; `connectAgents` finds the
|
|
48
|
-
Runtime through the Project link. `npx nylorun studio` opens
|
|
49
|
-
|
|
49
|
+
Runtime through the Project link. `npx nylorun studio` opens Studio on this
|
|
50
|
+
project's Tenant, and signs in a browser that is not signed in yet. In
|
|
50
51
|
Studio, ask **Look up order demo-123**. The local tool returns `shipped`;
|
|
51
52
|
Studio shows the tool call and assistant response. The Runtime listens on
|
|
52
53
|
`http://localhost:8787` and Studio on `http://localhost:4161`, or on free ports
|
|
@@ -11,9 +11,7 @@ const lookupOrder = tool({
|
|
|
11
11
|
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
export const assistant = Agent({
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
tools: [lookupOrder],
|
|
19
|
-
}).build();
|
|
14
|
+
export const assistant = Agent({ id: "assistant", name: "Order assistant" })
|
|
15
|
+
.instructions("Help with orders. Always use lookup_order for order questions. Remember conversation context.")
|
|
16
|
+
.tools(lookupOrder)
|
|
17
|
+
.build();
|