@hasna/assistants 0.6.43 → 0.6.46
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/README.md +1 -0
- package/dist/index.js +10 -7
- package/dist/index.js.map +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,6 +32,7 @@ export ANTHROPIC_API_KEY="your-key"
|
|
|
32
32
|
- **Connector-powered**: Uses `connect-*` CLIs (Notion, Google Drive, Gmail, etc.)
|
|
33
33
|
- **Skills**: Reusable instructions with `SKILL.md` files
|
|
34
34
|
- **Hooks**: Event-driven automation
|
|
35
|
+
- **Wait/Sleep tool**: Let the agent pause between actions with exact or ranged delays
|
|
35
36
|
|
|
36
37
|
## Configuration
|
|
37
38
|
|
package/dist/index.js
CHANGED
|
@@ -119993,7 +119993,7 @@ function formatAge(ms) {
|
|
|
119993
119993
|
return `${days}d`;
|
|
119994
119994
|
}
|
|
119995
119995
|
// packages/core/src/commands/builtin.ts
|
|
119996
|
-
var VERSION = "0.6.
|
|
119996
|
+
var VERSION = "0.6.46";
|
|
119997
119997
|
function resolveAuthTimeout(resolve5) {
|
|
119998
119998
|
resolve5({ exitCode: 1, stdout: { toString: () => "{}" } });
|
|
119999
119999
|
}
|
|
@@ -120630,6 +120630,8 @@ Identities:
|
|
|
120630
120630
|
message += ` - Global commands go in ~/.assistants/commands/*.md
|
|
120631
120631
|
`;
|
|
120632
120632
|
message += ` - Use /init to create a starter command
|
|
120633
|
+
`;
|
|
120634
|
+
message += ` - The agent can use the wait/sleep tool to pause between actions
|
|
120633
120635
|
`;
|
|
120634
120636
|
context.emit("text", message);
|
|
120635
120637
|
context.emit("done");
|
|
@@ -136206,9 +136208,10 @@ function createEmailProvider(config) {
|
|
|
136206
136208
|
});
|
|
136207
136209
|
}
|
|
136208
136210
|
const region = config.ses?.region || config.storage?.region || "us-east-1";
|
|
136211
|
+
const credentialsProfile = config.ses?.credentialsProfile || config.storage?.credentialsProfile;
|
|
136209
136212
|
return new SESProvider({
|
|
136210
136213
|
region,
|
|
136211
|
-
credentialsProfile
|
|
136214
|
+
credentialsProfile
|
|
136212
136215
|
});
|
|
136213
136216
|
}
|
|
136214
136217
|
|
|
@@ -143773,7 +143776,6 @@ function App2({ cwd: cwd2, version: version2 }) {
|
|
|
143773
143776
|
return /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(Box_default, {
|
|
143774
143777
|
flexDirection: "column",
|
|
143775
143778
|
padding: 1,
|
|
143776
|
-
height: rows,
|
|
143777
143779
|
children: /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(Spinner2, {
|
|
143778
143780
|
label: "Initializing..."
|
|
143779
143781
|
}, undefined, false, undefined, this)
|
|
@@ -143783,7 +143785,6 @@ function App2({ cwd: cwd2, version: version2 }) {
|
|
|
143783
143785
|
return /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(Box_default, {
|
|
143784
143786
|
flexDirection: "column",
|
|
143785
143787
|
padding: 1,
|
|
143786
|
-
height: rows,
|
|
143787
143788
|
children: /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(SessionSelector, {
|
|
143788
143789
|
sessions,
|
|
143789
143790
|
activeSessionId,
|
|
@@ -144066,7 +144067,7 @@ function formatStreamEvent(chunk) {
|
|
|
144066
144067
|
|
|
144067
144068
|
// packages/terminal/src/index.tsx
|
|
144068
144069
|
var jsx_dev_runtime13 = __toESM(require_jsx_dev_runtime(), 1);
|
|
144069
|
-
var VERSION3 = "0.6.
|
|
144070
|
+
var VERSION3 = "0.6.46";
|
|
144070
144071
|
function parseArgs(argv) {
|
|
144071
144072
|
const args = argv.slice(2);
|
|
144072
144073
|
const options = {
|
|
@@ -144215,10 +144216,12 @@ if (options.print !== null) {
|
|
|
144215
144216
|
const { waitUntilExit } = render_default(/* @__PURE__ */ jsx_dev_runtime13.jsxDEV(App2, {
|
|
144216
144217
|
cwd: options.cwd,
|
|
144217
144218
|
version: VERSION3
|
|
144218
|
-
}, undefined, false, undefined, this)
|
|
144219
|
+
}, undefined, false, undefined, this), {
|
|
144220
|
+
incrementalRendering: true
|
|
144221
|
+
});
|
|
144219
144222
|
waitUntilExit().then(() => {
|
|
144220
144223
|
process.exit(0);
|
|
144221
144224
|
});
|
|
144222
144225
|
}
|
|
144223
144226
|
|
|
144224
|
-
//# debugId=
|
|
144227
|
+
//# debugId=8125EAAA606C30FA64756E2164756E21
|