@dork-labs/connector-providers 0.115.0 → 0.117.0

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.
@@ -577,182 +577,7 @@ export declare const ConnectionReadinessSchema: z.ZodObject<{
577
577
  }, z.core.$strict>;
578
578
  /** Whether agents can use one connected account right now, and the one fix if not. */
579
579
  export type ConnectionReadiness = z.infer<typeof ConnectionReadinessSchema>;
580
- /** One readiness reason's words: for the owner, and for an agent. */
581
- export interface ConnectionReadinessCopy {
582
- readonly owner: string;
583
- readonly agent: string;
584
- }
585
- /** What an agent reads about an account the person disconnected. */
586
- export declare const CONNECTION_GONE_AGENT_COPY = "The person disconnected this account. Ask them to connect it again if you need it.";
587
- /**
588
- * Every line readiness says, in one place: the server's readiness function is
589
- * its one reader (tests read it too, so a mock never copies a string). Owner
590
- * lines sit under the app's name, so they say "it". Agent lines say what the
591
- * person must do.
592
- */
593
- export declare const CONNECTION_READINESS_COPY: Readonly<Record<Exclude<ConnectionReadinessReason, 'disconnect_stuck'>, ConnectionReadinessCopy>>;
594
- /** Why DorkOS can't finish removing a disconnected account's access at the service. */
595
- export type ConnectionDisconnectStuckCause = 'own_key_unavailable' | 'dorkos_account_unlinked' | 'dorkos_account_unavailable' | 'unreachable' | 'unconfirmed';
596
- /**
597
- * The owner's line for a disconnect DorkOS can't finish right now, by why it
598
- * can't: the one thing the person can do, or where they can finish it
599
- * themselves.
600
- *
601
- * @param cause - Why it can't finish.
602
- */
603
- export declare function disconnectStuckOwnerLine(cause: ConnectionDisconnectStuckCause): string;
604
- /**
605
- * The words for an account whose own key didn't answer for a reason that may
606
- * pass (a timeout, an outage): DorkOS checks it again on its own.
607
- */
608
- export declare const WAY_RECHECK_COPY: ConnectionReadinessCopy;
609
- /**
610
- * The words for an account whose way DorkOS is checking right now, or will
611
- * check again on its own before long: nothing for anyone to press yet.
612
- */
613
- export declare const WAY_CHECKING_COPY: ConnectionReadinessCopy;
614
- /**
615
- * Where the person can end DorkOS's access to one app's account themselves,
616
- * when that page is known.
617
- *
618
- * @param toolkit - The app's slug, e.g. `'gmail'`.
619
- */
620
- export declare function serviceAccessPageFor(toolkit: string): {
621
- readonly service: string;
622
- readonly url: string;
623
- } | undefined;
624
- /**
625
- * What an agent is told to do about an account nothing fixes from here: tell
626
- * the person. Added only when no concrete fix sentence follows.
627
- */
628
- export declare const TELL_THE_PERSON_AGENT_COPY = "Tell the person.";
629
- /**
630
- * The words added when an account connected a way that can't be used offers
631
- * connecting it again, because another way works.
632
- */
633
- export declare const CONNECT_ANOTHER_WAY_COPY: ConnectionReadinessCopy;
634
- /**
635
- * The words added when the owner can turn an app back on for one chat. The
636
- * agent line is unchanged: an agent never reads the owner's chat view, and it
637
- * should not ask for an app the person turned off.
638
- */
639
- export declare const TURN_ON_FOR_THIS_CHAT_COPY: Partial<ConnectionReadinessCopy>;
640
- /**
641
- * Why a way can't do something at all, in the words a person or agent reads
642
- * wherever the way's abilities are shown (the connect dialog, the access
643
- * review, an agent's tool result). Each way's code states its limits with
644
- * these lines, never its own.
645
- */
646
- export declare const WAY_CAPABILITY_COPY: {
647
- /** The way signs in to apps but can't run their actions. */
648
- readonly cannotRunActions: "Agents can’t use apps connected this way yet.";
649
- /** The way can't say which actions an app offers. */
650
- readonly cannotListActions: "DorkOS can’t list what an app can do when it’s connected this way.";
651
- /** The way can't deliver notifications from apps. */
652
- readonly noNotifications: "Notifications aren’t available for apps connected this way.";
653
- /** A person's own Composio key is an account key, which can't run actions. */
654
- readonly accountKeyCannotRunActions: "This key can sign in to apps but can’t run their actions. Change it to a project key from your Composio dashboard.";
655
- };
656
- /**
657
- * Why a waiting approval or request was cancelled because the access behind
658
- * it ended. A person reads it on the approval or request; an agent reads it
659
- * as the answer to what it was waiting for.
660
- */
661
- export declare const ACCESS_ENDED_COPY: {
662
- /** The account was disconnected. */
663
- readonly connection_removed: "The account was disconnected, so this was cancelled.";
664
- /** The agent was removed. */
665
- readonly agent_removed: "The agent was removed, so this was cancelled.";
666
- /** The agent's access to the account was taken away. */
667
- readonly agent_connection_removed: "The agent’s access to this account was removed, so this was cancelled.";
668
- };
669
- /**
670
- * What a person reads under one of their own keys when DorkOS's last check of
671
- * it failed. The service's own error text goes to the log, never here.
672
- */
673
- export declare const KEY_CHECK_COPY: {
674
- /** The service turned the key down (it answered 401 or 403). */
675
- readonly refused: "The service turned this key down. Check it’s the right key, then save it again.";
676
- /** The check failed a way that can pass, and DorkOS has a re-check scheduled. */
677
- readonly checkingAgain: "DorkOS couldn’t check this key just now. It checks again on its own.";
678
- /** The check failed and DorkOS has stopped checking on its own. */
679
- readonly stoppedChecking: "DorkOS couldn’t check this key and has stopped trying on its own. Save it again to check it now.";
680
- /**
681
- * Nothing answered at the service's address (a name that doesn't resolve, a
682
- * refused connection, a 404 on the base address).
683
- *
684
- * @param type - The way's type: `'nango'` names the person's own server.
685
- * @param recheckScheduled - Whether DorkOS will check it again on its own.
686
- */
687
- readonly unreachable: (type: string, recheckScheduled: boolean) => string;
688
- };
689
- /**
690
- * What a person reads when a change to who can use an account can't be sent
691
- * because this computer's DorkOS account link is gone.
692
- */
693
- export declare const LINK_NEEDED_TO_CHANGE_ACCESS_COPY = "DorkOS can\u2019t change who uses this account until this computer is linked to your DorkOS account again. Link it in Settings \u203A DorkOS account, then try again.";
694
- /**
695
- * What a person reads when a sign-in can't start or doesn't finish. The
696
- * server's sign-in flow is the one writer; the connect dialog shows the line.
697
- */
698
- export declare const SIGN_IN_COPY: {
699
- /** The way changed, or stopped answering, while the person was signing in. */
700
- readonly wayChanged: "The way DorkOS reaches this app changed or stopped working while you were signing in. Start again.";
701
- /** The way isn't set up, or isn't working, so a sign-in can't start. */
702
- readonly wayUnavailable: "The way DorkOS reaches this app isn’t set up or isn’t working right now. Check it in Settings › Connections, then try again.";
703
- /** The service said the sign-in didn't finish. */
704
- readonly failed: "Sign-in didn’t finish. Try again.";
705
- /** The service that handles sign-in isn't set up to connect this app. */
706
- readonly serviceNotReady: "This app can’t be connected yet. This isn’t something you can fix here.";
707
- /** This computer has to be linked to its DorkOS account before sign-in can start. */
708
- readonly accountLinkRequired: "Link this computer to your DorkOS account, then connect again.";
709
- /** The service hit a brief, transient failure trying to start sign-in. */
710
- readonly serviceUnavailable: "Nothing was connected. Try again in a few minutes.";
711
- };
712
- /**
713
- * The name of the service behind a way, for a key's own label ("Composio
714
- * project key", "Nango API key"). An unknown type is title-cased.
715
- *
716
- * @param type - The way's type, e.g. `'composio'`.
717
- */
718
- export declare function connectionServiceName(type: string): string;
719
- /**
720
- * The plain name of one way DorkOS reaches apps. An unknown type is named as
721
- * one of the person's own keys rather than shown as a raw slug.
722
- *
723
- * @param type - The way's type, e.g. `'composio'` or `'dorkos-managed'`.
724
- */
725
- export declare function connectionWayName(type: string): string;
726
- /**
727
- * The one line about who pays for an app's use, or `null` when nobody bills
728
- * for it: a self-hosted Nango server or an MCP server is the person's own, so
729
- * there is no bill to name. Only the DorkOS-account way and a person's own
730
- * Composio key have one.
731
- *
732
- * @param route - The way's payer and where its sign-ins are kept.
733
- */
734
- export declare function connectionUsageLine(route: {
735
- readonly payer: 'operator_byo' | 'dorkos_managed';
736
- readonly custody: 'managed' | 'self-host' | 'external';
737
- }): string | null;
738
- /**
739
- * Plain words for what one app action can do, shown in place of its stored
740
- * class. `destructive` is "High risk", never "Delete": the service marks
741
- * sending, sharing, forwarding and actions it hasn't sorted as destructive
742
- * too, so all the words can promise is that it needs more care.
743
- */
744
- export declare const OPERATION_CLASSIFICATION_LABELS: Readonly<Record<ConnectorOperationClassification, string>>;
745
- /**
746
- * What a set of action kinds lets an agent do, in words: `read`,
747
- * `read and write`, `read, write and high-risk actions`. Never "delete": the
748
- * service marks sending and sharing destructive too. The app and the server's
749
- * Activity entries both read it here.
750
- *
751
- * @param classifications - The kinds of the granted actions.
752
- */
753
- export declare function connectionAccessWords(classifications: readonly ConnectorOperationClassification[]): string;
754
- /** Plain words for a connected account's sign-in state, shown in place of its stored value. */
755
- export declare const CONNECTION_STATUS_LABELS: Readonly<Record<'active' | 'expired' | 'revoked' | 'pending' | 'paused', string>>;
580
+ export * from './connection-copy.js';
756
581
  /** Connection metadata visible to an agent that already holds access. */
757
582
  export declare const AccessibleConnectorConnectionSchema: z.ZodObject<{
758
583
  connectionId: z.core.$ZodBranded<z.ZodString, "ConnectionId", "out">;
@@ -1 +1 @@
1
- {"version":3,"file":"connector-schemas.d.ts","sourceRoot":"","sources":["../src/connector-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yFAAyF;AACzF,eAAO,MAAM,mCAAmC,SAAU,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,QAAkB,CAAC;AACpE,+EAA+E;AAC/E,eAAO,MAAM,kCAAkC,KAAK,CAAC;AAErD,iFAAiF;AACjF,MAAM,MAAM,kBAAkB,GAC5B,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,kBAAkB,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,CAAA;CAAE,CAAC;AAElG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CASlE,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,yBAAyB,kIAYlC,CAAC;AACL,0EAA0E;AAC1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,yEAAyE;AACzE,eAAO,MAAM,iCAAiC,uEAGP,CAAC;AACxC,yEAAyE;AACzE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,wDAA0C,CAAC;AAC1E,yEAAyE;AACzE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ED,+DAA+D;AAC/D,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB,CAElF;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAM9D;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CASjF"}
@@ -432,362 +432,7 @@ export const ConnectionReadinessSchema = z
432
432
  .refine((readiness) => readiness.state !== 'ready' || readiness.fix === undefined, {
433
433
  message: 'A ready account has nothing to fix.',
434
434
  });
435
- const READINESS_ASK_ON_CONNECTIONS = 'on the Connections page in the DorkOS app';
436
- /** What an agent reads about an account the person disconnected. */
437
- export const CONNECTION_GONE_AGENT_COPY = 'The person disconnected this account. Ask them to connect it again if you need it.';
438
- /**
439
- * Every line readiness says, in one place: the server's readiness function is
440
- * its one reader (tests read it too, so a mock never copies a string). Owner
441
- * lines sit under the app's name, so they say "it". Agent lines say what the
442
- * person must do.
443
- */
444
- export const CONNECTION_READINESS_COPY = {
445
- usable: {
446
- owner: 'Agents can use it.',
447
- agent: 'You can use this account.',
448
- },
449
- off_for_this_chat: {
450
- owner: 'Turned off for this chat.',
451
- agent: 'The person turned this account off for this chat, so you can’t use it here. Don’t ask for it again in this chat.',
452
- },
453
- // Linking this computer again with the same DorkOS account can continue its
454
- // earlier link, and so bring the account back (DOR-2521); never promised.
455
- dorkos_account_unlinked: {
456
- owner: 'It was connected through your DorkOS account, which isn’t linked anymore. Linking this computer again with the same ' +
457
- 'DorkOS account can bring it back, unless its earlier link was removed from that account. Otherwise, connect it again.',
458
- agent: 'It was connected through the person’s DorkOS account, which isn’t linked anymore. Linking this computer again with the ' +
459
- 'same DorkOS account (Settings › DorkOS account in the DorkOS app) can bring it back, unless its earlier link was removed from ' +
460
- 'that account. A different account, or a link made on another computer, does not bring it back: then ask the person to ' +
461
- `connect this app again ${READINESS_ASK_ON_CONNECTIONS}.`,
462
- },
463
- dorkos_account_unavailable: {
464
- owner: 'Your DorkOS account can’t reach it right now, so agents can’t use it.',
465
- agent: 'It was connected through the person’s DorkOS account, which can’t reach apps right now. Try again later. The person doesn’t need to do anything.',
466
- },
467
- own_key_unavailable: {
468
- owner: 'The key it was connected through isn’t set up or didn’t answer. Fix the key to use it.',
469
- agent: 'It was connected through the person’s own key, which isn’t set up or didn’t answer when DorkOS last checked it. ' +
470
- 'Ask the person to fix the key in Settings › Connections in the DorkOS app.',
471
- },
472
- way_unreachable: {
473
- owner: 'DorkOS can’t reach the service it was connected through, so agents can’t use it.',
474
- agent: 'DorkOS can’t reach the service this account was connected through. Asking for access won’t help.',
475
- },
476
- own_key_cannot_run_actions: {
477
- owner: 'Agents can’t use it: your key can sign in to apps but can’t run their actions. Change it to a project key.',
478
- agent: 'The person’s own key can sign in to apps but can’t run their actions. Ask the person to change it to a project key in Settings › Connections in the DorkOS app.',
479
- },
480
- cannot_run_actions: {
481
- owner: 'Agents can’t use apps connected this way yet.',
482
- agent: 'Agents can’t use apps connected the way this one was. Asking for access won’t help.',
483
- },
484
- paused: {
485
- owner: 'Paused. Agents can’t use it until you resume it.',
486
- agent: `The person paused this account. Ask them to resume it ${READINESS_ASK_ON_CONNECTIONS}.`,
487
- },
488
- signing_in: {
489
- owner: 'Finish signing in again. Agents can’t use it until you do.',
490
- agent: `The person is signing in to this account again. Ask them to finish signing in ${READINESS_ASK_ON_CONNECTIONS}.`,
491
- },
492
- signed_out: {
493
- owner: 'Signed out. Agents can’t use it until you sign in again.',
494
- agent: `The sign-in for this account ended. Ask the person to sign in again ${READINESS_ASK_ON_CONNECTIONS}.`,
495
- },
496
- sign_in_unfinished: {
497
- owner: 'Sign-in didn’t finish. Agents can’t use it until you sign in again.',
498
- agent: `The sign-in for this account didn’t finish. Ask the person to sign in again ${READINESS_ASK_ON_CONNECTIONS}.`,
499
- },
500
- needs_review: {
501
- owner: 'How DorkOS reaches it changed, so check who can use it. Agents can’t use it until you do.',
502
- agent: `How DorkOS reaches this account changed, so the person needs to confirm who can use it before agents can use it again. Ask them to check it ${READINESS_ASK_ON_CONNECTIONS}.`,
503
- },
504
- access_update_failed: {
505
- owner: 'A change to who can use it didn’t go through. Check who can use it.',
506
- agent: `A change to who can use this account didn’t go through. Ask the person to check it ${READINESS_ASK_ON_CONNECTIONS}.`,
507
- },
508
- access_updating: {
509
- owner: 'Updating who can use it…',
510
- agent: 'DorkOS is still updating who can use this account. Try again in a few minutes. The person doesn’t need to do anything.',
511
- },
512
- disconnected: {
513
- owner: 'Disconnected. Agents can’t use it.',
514
- agent: CONNECTION_GONE_AGENT_COPY,
515
- },
516
- disconnect_finishing: {
517
- owner: 'Disconnected. Agents can’t use it. DorkOS is still removing its access at the service.',
518
- agent: CONNECTION_GONE_AGENT_COPY,
519
- },
520
- gone_at_service: {
521
- owner: 'Your DorkOS account no longer has this connection, so agents can’t use it. Connect it again to use it. To be sure its old access ended, remove it in that app’s own account settings.',
522
- agent: 'The person’s DorkOS account no longer has this connection. Ask the person to connect it again if you need it.',
523
- },
524
- };
525
- /**
526
- * The owner's line for a disconnect DorkOS can't finish right now, by why it
527
- * can't: the one thing the person can do, or where they can finish it
528
- * themselves.
529
- *
530
- * @param cause - Why it can't finish.
531
- */
532
- export function disconnectStuckOwnerLine(cause) {
533
- const lead = 'Disconnected. Agents can’t use it.';
534
- const ownSettings = 'To be sure its access ended, remove it in that app’s own account settings.';
535
- switch (cause) {
536
- case 'own_key_unavailable':
537
- return `${lead} DorkOS can’t finish removing its access at the service until the key it was connected through works again. Add that same key again and DorkOS finishes it on its own.`;
538
- case 'dorkos_account_unlinked':
539
- return `${lead} DorkOS can’t finish removing its access at the service, because your DorkOS account isn’t linked anymore. Link this computer to the same DorkOS account again and DorkOS finishes it on its own. ${ownSettings}`;
540
- case 'unconfirmed':
541
- return `${lead} DorkOS couldn’t confirm its access ended at the service. ${ownSettings}`;
542
- case 'dorkos_account_unavailable':
543
- case 'unreachable':
544
- return `${lead} DorkOS can’t reach the service to finish removing its access. ${ownSettings}`;
545
- }
546
- }
547
- /**
548
- * The words for an account whose own key didn't answer for a reason that may
549
- * pass (a timeout, an outage): DorkOS checks it again on its own.
550
- */
551
- export const WAY_RECHECK_COPY = {
552
- owner: 'The key it was connected through didn’t answer. DorkOS checks it again on its own.',
553
- agent: 'The way this account was connected through didn’t answer. DorkOS checks it again on its own, so try again in a few minutes. The person doesn’t need to do anything.',
554
- };
555
- /**
556
- * The words for an account whose way DorkOS is checking right now, or will
557
- * check again on its own before long: nothing for anyone to press yet.
558
- */
559
- export const WAY_CHECKING_COPY = {
560
- owner: 'DorkOS is checking how it reaches it. This takes a moment.',
561
- agent: 'DorkOS is checking how it reaches this account. Try again in a few minutes. The person doesn’t need to do anything.',
562
- };
563
- /**
564
- * Pages where a person can end an app's access to their account themselves,
565
- * by the account's service. Only pages known to hold that setting are listed;
566
- * an app missing here gets the plain line with no link.
567
- */
568
- const SERVICE_ACCESS_PAGES = {
569
- google: { service: 'Google', url: 'https://myaccount.google.com/connections' },
570
- github: { service: 'GitHub', url: 'https://github.com/settings/applications' },
571
- dropbox: { service: 'Dropbox', url: 'https://www.dropbox.com/account/connected_apps' },
572
- };
573
- /** Which account service each app signs in through, for the apps whose page is known. */
574
- const SERVICE_OF_APP = {
575
- gmail: 'google',
576
- googlecalendar: 'google',
577
- googledocs: 'google',
578
- googlesheets: 'google',
579
- googledrive: 'google',
580
- github: 'github',
581
- dropbox: 'dropbox',
582
- };
583
- /**
584
- * Where the person can end DorkOS's access to one app's account themselves,
585
- * when that page is known.
586
- *
587
- * @param toolkit - The app's slug, e.g. `'gmail'`.
588
- */
589
- export function serviceAccessPageFor(toolkit) {
590
- const service = SERVICE_OF_APP[toolkit];
591
- return service === undefined ? undefined : SERVICE_ACCESS_PAGES[service];
592
- }
593
- /**
594
- * What an agent is told to do about an account nothing fixes from here: tell
595
- * the person. Added only when no concrete fix sentence follows.
596
- */
597
- export const TELL_THE_PERSON_AGENT_COPY = 'Tell the person.';
598
- /**
599
- * The words added when an account connected a way that can't be used offers
600
- * connecting it again, because another way works.
601
- */
602
- export const CONNECT_ANOTHER_WAY_COPY = {
603
- owner: 'Connect it again another way to use it.',
604
- agent: 'Ask the person to connect it again another way on the Connections page in the DorkOS app.',
605
- };
606
- /**
607
- * The words added when the owner can turn an app back on for one chat. The
608
- * agent line is unchanged: an agent never reads the owner's chat view, and it
609
- * should not ask for an app the person turned off.
610
- */
611
- export const TURN_ON_FOR_THIS_CHAT_COPY = {
612
- owner: 'Turn it on to let this agent use it here again.',
613
- };
614
- /**
615
- * Why a way can't do something at all, in the words a person or agent reads
616
- * wherever the way's abilities are shown (the connect dialog, the access
617
- * review, an agent's tool result). Each way's code states its limits with
618
- * these lines, never its own.
619
- */
620
- export const WAY_CAPABILITY_COPY = {
621
- /** The way signs in to apps but can't run their actions. */
622
- cannotRunActions: 'Agents can’t use apps connected this way yet.',
623
- /** The way can't say which actions an app offers. */
624
- cannotListActions: 'DorkOS can’t list what an app can do when it’s connected this way.',
625
- /** The way can't deliver notifications from apps. */
626
- noNotifications: 'Notifications aren’t available for apps connected this way.',
627
- /** A person's own Composio key is an account key, which can't run actions. */
628
- accountKeyCannotRunActions: 'This key can sign in to apps but can’t run their actions. Change it to a project key from your Composio dashboard.',
629
- };
630
- /**
631
- * Why a waiting approval or request was cancelled because the access behind
632
- * it ended. A person reads it on the approval or request; an agent reads it
633
- * as the answer to what it was waiting for.
634
- */
635
- export const ACCESS_ENDED_COPY = {
636
- /** The account was disconnected. */
637
- connection_removed: 'The account was disconnected, so this was cancelled.',
638
- /** The agent was removed. */
639
- agent_removed: 'The agent was removed, so this was cancelled.',
640
- /** The agent's access to the account was taken away. */
641
- agent_connection_removed: 'The agent’s access to this account was removed, so this was cancelled.',
642
- };
643
- /**
644
- * What a person reads under one of their own keys when DorkOS's last check of
645
- * it failed. The service's own error text goes to the log, never here.
646
- */
647
- export const KEY_CHECK_COPY = {
648
- /** The service turned the key down (it answered 401 or 403). */
649
- refused: 'The service turned this key down. Check it’s the right key, then save it again.',
650
- /** The check failed a way that can pass, and DorkOS has a re-check scheduled. */
651
- checkingAgain: 'DorkOS couldn’t check this key just now. It checks again on its own.',
652
- /** The check failed and DorkOS has stopped checking on its own. */
653
- stoppedChecking: 'DorkOS couldn’t check this key and has stopped trying on its own. Save it again to check it now.',
654
- /**
655
- * Nothing answered at the service's address (a name that doesn't resolve, a
656
- * refused connection, a 404 on the base address).
657
- *
658
- * @param type - The way's type: `'nango'` names the person's own server.
659
- * @param recheckScheduled - Whether DorkOS will check it again on its own.
660
- */
661
- unreachable(type, recheckScheduled) {
662
- const lead = type === 'nango'
663
- ? 'DorkOS couldn’t reach your Nango server.'
664
- : 'DorkOS couldn’t reach Composio.';
665
- if (recheckScheduled)
666
- return `${lead} It checks again on its own.`;
667
- return type === 'nango'
668
- ? `${lead} Check that it’s running and its address is right, then save the key again.`
669
- : `${lead} Check your internet connection, then save the key again.`;
670
- },
671
- };
672
- /**
673
- * What a person reads when a change to who can use an account can't be sent
674
- * because this computer's DorkOS account link is gone.
675
- */
676
- export const LINK_NEEDED_TO_CHANGE_ACCESS_COPY = 'DorkOS can’t change who uses this account until this computer is linked to your DorkOS account again. Link it in Settings › DorkOS account, then try again.';
677
- /**
678
- * What a person reads when a sign-in can't start or doesn't finish. The
679
- * server's sign-in flow is the one writer; the connect dialog shows the line.
680
- */
681
- export const SIGN_IN_COPY = {
682
- /** The way changed, or stopped answering, while the person was signing in. */
683
- wayChanged: 'The way DorkOS reaches this app changed or stopped working while you were signing in. Start again.',
684
- /** The way isn't set up, or isn't working, so a sign-in can't start. */
685
- wayUnavailable: 'The way DorkOS reaches this app isn’t set up or isn’t working right now. Check it in Settings › Connections, then try again.',
686
- /** The service said the sign-in didn't finish. */
687
- failed: 'Sign-in didn’t finish. Try again.',
688
- /** The service that handles sign-in isn't set up to connect this app. */
689
- serviceNotReady: 'This app can’t be connected yet. This isn’t something you can fix here.',
690
- /** This computer has to be linked to its DorkOS account before sign-in can start. */
691
- accountLinkRequired: 'Link this computer to your DorkOS account, then connect again.',
692
- /** The service hit a brief, transient failure trying to start sign-in. */
693
- serviceUnavailable: 'Nothing was connected. Try again in a few minutes.',
694
- };
695
- /** The service behind each way, by the way's type: what its key or server is called. */
696
- const SERVICE_NAMES = {
697
- 'dorkos-managed': 'DorkOS',
698
- composio: 'Composio',
699
- nango: 'Nango',
700
- mcp: 'MCP',
701
- 'test-connector': 'Test connector',
702
- };
703
- /**
704
- * How a person knows each way DorkOS reaches apps, by the way's type. Every
705
- * surface that names a way (Settings › Connections, "How it's connected", the
706
- * connect dialog, the catalog's warnings, an agent's recommendation) reads it
707
- * from here, and the server works it out from the stored type when it reads a
708
- * way, so a stored raw name never reaches anyone.
709
- */
710
- const WAY_NAMES = {
711
- 'dorkos-managed': 'Your DorkOS account',
712
- composio: 'Your Composio key',
713
- nango: 'Your Nango server',
714
- // Raw MCP talks straight to the app's own server, never one the person runs.
715
- mcp: 'The app’s own MCP server',
716
- 'test-connector': 'Your test key',
717
- };
718
- /** "Composio" from `composio`; an unknown type is title-cased. */
719
- function titleCase(type) {
720
- return type.charAt(0).toUpperCase() + type.slice(1);
721
- }
722
- /**
723
- * The name of the service behind a way, for a key's own label ("Composio
724
- * project key", "Nango API key"). An unknown type is title-cased.
725
- *
726
- * @param type - The way's type, e.g. `'composio'`.
727
- */
728
- export function connectionServiceName(type) {
729
- return SERVICE_NAMES[type] ?? titleCase(type);
730
- }
731
- /**
732
- * The plain name of one way DorkOS reaches apps. An unknown type is named as
733
- * one of the person's own keys rather than shown as a raw slug.
734
- *
735
- * @param type - The way's type, e.g. `'composio'` or `'dorkos-managed'`.
736
- */
737
- export function connectionWayName(type) {
738
- return WAY_NAMES[type] ?? `Your ${titleCase(type)} key`;
739
- }
740
- /**
741
- * The one line about who pays for an app's use, or `null` when nobody bills
742
- * for it: a self-hosted Nango server or an MCP server is the person's own, so
743
- * there is no bill to name. Only the DorkOS-account way and a person's own
744
- * Composio key have one.
745
- *
746
- * @param route - The way's payer and where its sign-ins are kept.
747
- */
748
- export function connectionUsageLine(route) {
749
- if (route.payer === 'dorkos_managed')
750
- return 'Your DorkOS account covers its use.';
751
- // Composio keeps the sign-in (managed custody) on a person's own key.
752
- if (route.custody === 'managed')
753
- return 'Any usage charges go to your own Composio account.';
754
- return null;
755
- }
756
- /**
757
- * Plain words for what one app action can do, shown in place of its stored
758
- * class. `destructive` is "High risk", never "Delete": the service marks
759
- * sending, sharing, forwarding and actions it hasn't sorted as destructive
760
- * too, so all the words can promise is that it needs more care.
761
- */
762
- export const OPERATION_CLASSIFICATION_LABELS = {
763
- read: 'Read',
764
- write: 'Write',
765
- destructive: 'High risk',
766
- };
767
- /**
768
- * What a set of action kinds lets an agent do, in words: `read`,
769
- * `read and write`, `read, write and high-risk actions`. Never "delete": the
770
- * service marks sending and sharing destructive too. The app and the server's
771
- * Activity entries both read it here.
772
- *
773
- * @param classifications - The kinds of the granted actions.
774
- */
775
- export function connectionAccessWords(classifications) {
776
- const words = ['read', 'write', 'destructive']
777
- .filter((kind) => classifications.includes(kind))
778
- .map((kind) => (kind === 'destructive' ? 'high-risk actions' : kind));
779
- if (words.length <= 1)
780
- return words[0] ?? '';
781
- return `${words.slice(0, -1).join(', ')} and ${words.at(-1)}`;
782
- }
783
- /** Plain words for a connected account's sign-in state, shown in place of its stored value. */
784
- export const CONNECTION_STATUS_LABELS = {
785
- active: 'Connected',
786
- expired: 'Signed out',
787
- revoked: 'Disconnected',
788
- pending: 'Signing in',
789
- paused: 'Paused',
790
- };
435
+ export * from './connection-copy.js';
791
436
  /** Connection metadata visible to an agent that already holds access. */
792
437
  export const AccessibleConnectorConnectionSchema = z
793
438
  .object({