agentosity 0.3.0 → 0.3.1

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/package.json +3 -3
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agentosity",
3
- "version": "0.3.0",
4
- "description": "Agentosity \u2014 AI-native is a number now. Automatic attendance for your AI agents (stdio MCP lifecycle + activity probes) + human clock-out CLI.",
3
+ "version": "0.3.1",
4
+ "description": "Agentosity AI-native is a number now. Automatic attendance for your AI agents (stdio MCP lifecycle + activity probes) + human clock-out CLI.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "agentosity": "./bin/agentosity.js"
@@ -28,4 +28,4 @@
28
28
  "directory": "packages/cli"
29
29
  },
30
30
  "license": "MIT"
31
- }
31
+ }
package/src/index.js CHANGED
@@ -75,7 +75,7 @@ async function init(companyArg) {
75
75
  prof = await get(`/api/profile?device=${cfg.deviceId ?? ""}`);
76
76
  }
77
77
  if (!prof?.company) {
78
- const url = `${apiBase()}/checkin`;
78
+ const url = `${apiBase()}/checkin?from=cli`;
79
79
  console.log(`在网页上选择你的公司…\n打不开就手动访问:${url}`);
80
80
  await openBrowser(url);
81
81
  for (let i = 0; i < 150 && !prof?.company; i++) {