@miadi/connector 0.1.16 → 0.1.17
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/dist/mission-result.js +2 -1
- package/dist/mission-status.js +4 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/mission-result.js
CHANGED
|
@@ -101,7 +101,8 @@ async function checkOutput(out, ctx) {
|
|
|
101
101
|
state: "unverified",
|
|
102
102
|
access: res.access,
|
|
103
103
|
checked_at,
|
|
104
|
-
|
|
104
|
+
// Only a token that still gets a 404 leaves the slash ambiguity as a cause; without one, the token is the cause (F2).
|
|
105
|
+
...(res.status === 404 && res.access === "not_visible_to_token" ? { note: "A branch name holding a slash cannot be told from the path in a GitHub URL; it is read as its first segment." } : {}),
|
|
105
106
|
};
|
|
106
107
|
}
|
|
107
108
|
const sha = str(res.json?.sha);
|
package/dist/mission-status.js
CHANGED
|
@@ -250,7 +250,9 @@ export async function missionStatus(ref, records, deps) {
|
|
|
250
250
|
if (rc.session_id)
|
|
251
251
|
seenIds.add(rc.session_id);
|
|
252
252
|
const miadi = rc.session_id ? (await view(rc.session_id)) : undefined;
|
|
253
|
-
|
|
253
|
+
// Miadi's door answers { session: {...}, read_at }; the session itself holds live (jgwill/Miadi#921 F1).
|
|
254
|
+
const seat = miadi && typeof miadi === "object" ? (miadi.session && typeof miadi.session === "object" ? miadi.session : miadi) : undefined;
|
|
255
|
+
const reg = seat && seat.live && typeof seat.live === "object" ? seat.live : undefined;
|
|
254
256
|
let binding;
|
|
255
257
|
let binding_reason;
|
|
256
258
|
let binding_compared;
|
|
@@ -307,7 +309,7 @@ export async function missionStatus(ref, records, deps) {
|
|
|
307
309
|
const b = record.body;
|
|
308
310
|
const requested = str(b.provider) || null;
|
|
309
311
|
const resolved = str(b.resolved_provider) || null;
|
|
310
|
-
const actual = rc.provider || str(
|
|
312
|
+
const actual = rc.provider || str(seat?.agent) || null;
|
|
311
313
|
provider = {
|
|
312
314
|
requested,
|
|
313
315
|
resolved,
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.17";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.1.
|
|
1
|
+
export const VERSION = "0.1.17";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miadi/connector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "The Miadi connector: one remote MCP service through which a person signed in with their Miadi person token, from ChatGPT or any MCP client, reads sessions, reviews, episodes and circles and records observations, inquiries, handoffs and proposals with their name on each record.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Miadi",
|