opencode-m365-copilot 2.1.0 → 2.1.2
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 +2 -1
- package/dist/{agent-C76uuF-q.mjs → agent-DDZ4B7E6.mjs} +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/{dist-DnyIX7Da.mjs → dist-CN4xwvMF.mjs} +225 -140
- package/dist/{login-j65WhI4A.mjs → login-DAXgPgtX.mjs} +3 -3
- package/dist/{otpauth.node-DaSYf7YH.mjs → otpauth.node-Cz2NJJEI.mjs} +4 -4
- package/dist/plugin.d.mts +20 -0
- package/dist/plugin.mjs +2 -2
- package/dist/{server-CRfZjKho.mjs → server-Dhpnsh1N.mjs} +29 -12
- package/dist/server.d.mts +11 -0
- package/dist/server.mjs +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -217,7 +217,8 @@ What `WorkSearch` reaches (all verified against a live tenant, except where note
|
|
|
217
217
|
| Third-party **Graph connectors** (Jira, ServiceNow, …) | ✅ *if your admin configured them* |
|
|
218
218
|
|
|
219
219
|
Select one in opencode (the model picker, or pin a `work` sub-agent to it) when you want
|
|
220
|
-
this context;
|
|
220
|
+
this context; they are listed as `Work · …`. Every other model is listed as `Code · …`,
|
|
221
|
+
stays coding/web-only and never reaches your account. A
|
|
221
222
|
grounded turn switches the request to the Outlook side-pane scenario, sends that surface's
|
|
222
223
|
feature variants, and attaches the built-in agent with the `WorkSearch` capability — the
|
|
223
224
|
combination that actually grounds on the signed-in account — then strips Copilot's inline
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as createLogger, b as AGENT_FILE, d as POWERPLATFORM_SCOPE, l as BAP_SCOPE, y as writePrivateFile } from "./server-
|
|
1
|
+
import { _ as createLogger, b as AGENT_FILE, d as POWERPLATFORM_SCOPE, l as BAP_SCOPE, y as writePrivateFile } from "./server-Dhpnsh1N.mjs";
|
|
2
2
|
import { readFileSync } from "node:fs";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
// src/agent.ts
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as DEFAULT_MODEL, C as SECRETS_FILE, O as mergeOpencodeConfig, S as CONFIG_DIR, T as PROVIDER_ID, a as startServer, b as AGENT_FILE, g as createTokenClient, j as LOCAL_TITLE_MODEL, x as CACHE_FILE } from "./server-
|
|
3
|
-
import { t as getOrCreateAgent } from "./agent-
|
|
2
|
+
import { A as DEFAULT_MODEL, C as SECRETS_FILE, O as mergeOpencodeConfig, S as CONFIG_DIR, T as PROVIDER_ID, a as startServer, b as AGENT_FILE, g as createTokenClient, j as LOCAL_TITLE_MODEL, x as CACHE_FILE } from "./server-Dhpnsh1N.mjs";
|
|
3
|
+
import { t as getOrCreateAgent } from "./agent-DDZ4B7E6.mjs";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
import { dirname, join, resolve } from "node:path";
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -46,7 +46,7 @@ to complete SSO/MFA by hand once — the only option on tenants with push-only
|
|
|
46
46
|
MFA, FIDO2, or a federated IdP.`);
|
|
47
47
|
}
|
|
48
48
|
async function doLogin(args) {
|
|
49
|
-
const { login } = await import("./login-
|
|
49
|
+
const { login } = await import("./login-DAXgPgtX.mjs");
|
|
50
50
|
const interactive = args.includes("--interactive");
|
|
51
51
|
try {
|
|
52
52
|
const account = await login({
|