oceanbus 0.10.6 → 0.10.7

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.
@@ -93,7 +93,7 @@ function emit(event) {
93
93
  console.log(`[${win}] ${from}: ${text}`);
94
94
  }
95
95
  }
96
- let cloudBase = 'http://localhost:3000';
96
+ let cloudBase = 'http://127.0.0.1:3456';
97
97
  async function resolvePairingCode(code) {
98
98
  try {
99
99
  const res = await fetch(`${cloudBase}/api/pairing/${code}`);
@@ -117,11 +117,11 @@ exports.startCommand = {
117
117
  .option('name', { type: 'string', description: 'Window name (default: CC tab name or cwd)' })
118
118
  .option('peer', { type: 'string', description: 'H5/Cloud OB openid to connect to' })
119
119
  .option('code', { type: 'string', description: '6-char pairing code from H5' })
120
- .option('gateway-url', { type: 'string', description: 'Cloud API base URL', default: 'http://localhost:3000' }),
120
+ .option('gateway-url', { type: 'string', description: 'Cloud API base URL', default: 'http://127.0.0.1:3456' }),
121
121
  handler: async (argv) => {
122
122
  if (argv.name)
123
123
  winOverride = argv.name;
124
- cloudBase = argv['gateway-url'] || process.env.OB_CONSOLE_URL || 'http://localhost:3000';
124
+ cloudBase = argv['gateway-url'] || process.env.OB_CONSOLE_URL || 'http://127.0.0.1:3456';
125
125
  // 1. Load or create OB identity
126
126
  let creds = loadJSON(CREDS_FILE);
127
127
  if (!creds?.openid) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oceanbus",
3
- "version": "0.10.6",
3
+ "version": "0.10.7",
4
4
  "description": "OceanBus AI Agent Communication & Trust Infrastructure SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",